home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / mail / sendmail.8.8.4.tar.gz / sendmail.8.8.4.tar / sendmail-8.8.4 / RELEASE_NOTES < prev   
Text File  |  1996-12-02  |  247KB  |  4,982 lines

  1.             SENDMAIL RELEASE NOTES
  2.          @(#)RELEASE_NOTES    8.8.4.4 (Berkeley) 12/2/96
  3.  
  4.  
  5. This listing shows the version of the sendmail binary, the version
  6. of the sendmail configuration files, the date of release, and a
  7. summary of the changes in that release.
  8.  
  9. 8.8.4/8.8.4    96/12/02
  10.     SECURITY: under some circumstances, an attacker could get additional
  11.         permissions by hard linking to files that were group
  12.         writable by the attacker.  The solution is to disallow any
  13.         files that have hard links -- this will affect .forward,
  14.         :include:, and output files.  Problem noted by Terry
  15.         Kyriacopoulos of Interlog Internet Services.  As a
  16.         workaround, set UnsafeGroupWrites -- always a good idea.
  17.     SECURITY: the TryNullMXList (w) option should not be safe -- if it
  18.         is, it is possible to do a denial-of-service attack on
  19.         MX hosts that rely on the use of the null MX list.  There
  20.         is no danger if you have this option turned off (the default).
  21.         Problem noted by Dan Bernstein.  Also, make the DontInitGroups
  22.         unsafe.  I know of no specific attack against this, although
  23.         a denial-of-service attack is probably possible, but in theory
  24.         you should not be able to safely tweak anything that affects
  25.         the permissions that are used when mail is delivered.
  26.     Purgestat could go into an infinite loop if one of the host status
  27.         directories somehow became empty.  Problem noted by Roy
  28.         Mongiovi of Georgia Tech.
  29.     Processes got "lost" when counting children due to a race condition.
  30.         This caused "proc_list_probe: lost pid" messages to be logged.
  31.         Problem noted by several people.
  32.     On systems with System V SIGCLD child signal semantics (notably AIX
  33.         and HP-UX), mail transactions would print the message "451
  34.         SMTP-MAIL: lost child: No child processes".  Problem noted
  35.         by several people.
  36.     Miscellaneous compiler warnings on picky compilers (or when setting
  37.         gcc to high warning levels).  From Tom Moore of NCR Corp.
  38.     SMTP protocol errors, and most errors on MAIL FROM: lines should
  39.         not be persistent between runs, since they are based on the
  40.         message rather than the host.  Problem noted by Matt Dillon
  41.         of Best Internet Communications.
  42.     The F=7 flag was ignored on SMTP mailers.  Problem noted by Tom Moore
  43.         of NCR (a.k.a., AT&T Global Information Solutions).
  44.     Avoid the possibility of having a child daemon run to completion
  45.         (including closing the SMTP socket) before the parent has
  46.         had a chance to close the socket; this can cause the parent
  47.         to hang for a long time waiting for the socket to drain.
  48.         Patch from Don Lewis of TDK Semiconductor.
  49.     If the fork() failed in a queue run, the queue runners would not be
  50.         rescheduled (so queue runs would stop).  Patch from Don Lewis.
  51.     Some error conditions in ETRN could cause output without an SMTP
  52.         status code.  Problem noted by Don Lewis.
  53.     Multiple :maildrop addresses in the user database didn't work properly.
  54.         Patch from Roy Mongiovi of Georgia Tech.
  55.     Add ".db" automatically onto any user database spec that does not
  56.         already have it; this is for consistency with makemap, the
  57.         K line, and the documentation.  Inconsistency pointed out
  58.         by Roy Mongiovi.
  59.     Allow sendmail to be properly called in nohup mode.  Patch from
  60.         Kyle Jones of UUNET.
  61.     Change ETRN to ignore but still update host status files; previously
  62.         it would ignore them and not save the updated status, which
  63.         caused stale information to be maintained.  Based on a patch
  64.         from Christopher Davis of Kapor Enterprises Inc.  Also, have
  65.         ETRN ignore the MinQueueAge option.
  66.     Patch long term host status to recover more gracefully from an empty
  67.         host status file condition.  Patch from NAKAMURA Motonori
  68.         of Kyoto University.
  69.     Several patches to signal handling code to fix potential race
  70.         conditions from Don Lewis.
  71.     Make it possible to compile with -DDAEMON=0 (previously it had some
  72.         compile errors).  This turns DAEMON, QUEUE, and SMTP into
  73.         0/1 compilation flags.  Note that DAEMON is an obsolete
  74.         compile flag; use NETINET instead.  Solution based on a
  75.         patch from Bryan Costales.
  76.     PORTABILITY FIXES:
  77.         AIX4: getpwnam() and getpwuid() do a sequential scan of the
  78.             /etc/security/passwd file when called as root.  This
  79.             is very slow on some systems.  To speed it up, use the
  80.             (undocumented) _getpw{nam,uid}_shadow() routines.
  81.             Patch from Chris Thomas of UCLA/OAC Systems Group.
  82.         SCO 5.x: include -lprot in the Makefile.  Patch from Bill
  83.             Glicker of Burrelle's Information Service.
  84.         NEWS-OS 4.x: need a definition for MODE_T to compile.  Patch
  85.             from Makoto MATSUSHITA of Osaka University.
  86.         SunOS 4.0.3: compile problems.  Patches from Andrew Cole of
  87.             Leeds University and SASABE Tetsuro of the University
  88.             of Tokyo.
  89.         DG/UX 5.4.4.11 from Brian J. Murrell of InterLinx Support
  90.             Services, Inc.
  91.         Domain/OS from Don (Truck) Lewis of TDK Semiconductor Corp.
  92.             I believe this to have only been a problem if you
  93.             compiled with -DUSE_VENDOR_CF_PATH -- another reason
  94.             to stick with /etc/sendmail.cf as your One True Path.
  95.         Digital UNIX (OSF/1 on Alpha) load average computation from
  96.             Martin Laubach of the Technischen UniversitΣt Wien.
  97.     CONFIG: change default Received: line to be multiple lines rather
  98.         than one long one.  By popular demand.
  99.     MAIL.LOCAL: warnings weren't being logged on some systems.  Patch
  100.         from Jerome Berkman of U.C. Berkeley.
  101.     MAKEMAP: be sure to zero hinfo to avoid cruft that can cause runs
  102.         to take a very long time.  Problem noted by Yoshiro YONEYA
  103.         of NTT Software Corporation.
  104.     CONTRIB: add etrn.pl, contributed by John Beck.
  105.     NEW FILES:
  106.         contrib/etrn.pl
  107.  
  108. 8.8.3/8.8.3    96/11/17
  109.     SECURITY: it was possible to get a root shell by lying to sendmail
  110.         about argv[0] and then sending it a signal.  Problem noted
  111.         by Leshka Zakharoff <leshka@leshka.chuvashia.su> on the
  112.         best-of-security list.
  113.     Log sendmail binary version number in "Warning: .cf version level
  114.         (%d) exceeds program functionality (%d) message" -- this
  115.         should make it clearer to people that they are running
  116.         the wrong binary.
  117.     Fix a problem that occurs when you open an SMTP connection and then
  118.         do one or more ETRN commands followed by a MAIL command; at
  119.         the end of the DATA phase sendmail would incorrectly report
  120.         "451 SMTP-MAIL: lost child: No child processes".  Problem
  121.         noted by Eric Bishop of Virginia Tech.
  122.     When doing text-based host canonification (typically /etc/hosts
  123.         lookup), a null host name would match any /etc/hosts entry
  124.         with space at the end of the line.  Problem noted by Steve
  125.         Hubert of the University of Washington, Seattle.
  126.     7 to 8 bit BASE64 MIME conversions could duplicate bits of text.
  127.         Problem reported by Tom Smith of Digital Equipment Corp.
  128.     Increase the size of the DNS answer buffer -- the standard UDP packet
  129.         size PACKETSZ (512) is not sufficient for some nameserver
  130.         answers containing very many resource records.  The resolver
  131.         may also switch to TCP and retry if it detects UDP packet
  132.         overflow.  Also, allow for the fact that the resolver
  133.         routines res_query and res_search return the size of the
  134.         *un*truncated answer in case the supplied answer buffer it
  135.         not big enough to accommodate the entire answer.  Patch from
  136.         Eric Wassenaar.
  137.     Improvements to MaxDaemonChildren code.  If you think you have too
  138.         many children, probe the ones you have to verify that they
  139.         are still around.  Suggested by Jared Mauch of CICnet, Inc.
  140.         Also, do this probe before growing the vector of children
  141.         pids; this previously caused the vector to grow indefinitely
  142.         due to a race condition.  Problem reported by Kyle Jones of
  143.         UUNET.
  144.     On some architectures, <db.h> (from the Berkeley DB library) defines
  145.         O_EXLOCK to zero; this fools the map compilation code into
  146.         thinking that it can avoid race conditions by locking on open.
  147.         Change it to check for O_EXLOCK non-zero.  Problem noted by
  148.         Leif Erlingsson of Data Lege.
  149.     Always call res_init() on startup (if compiled in, of course) to
  150.         allow the sendmail.cf file to tweak resolver flags; without
  151.         it, flag tweaks in ResolverOptions are ignored.  Patch from
  152.         Andrew Sun of Merrill Lynch.
  153.     Improvements to host status printing code.  Suggested by Steve Hubert
  154.         of the University of Washington, Seattle.
  155.     Change MinQueueAge option processing to do the check for the job age
  156.         when reading the queue file, rather than at the end; this
  157.         avoids parsing the addresses, which can do DNS lookups.
  158.         Problem noted by John Beck of InReference, Inc.
  159.     When MIME was being 7->8 bit decoded, "From " lines weren't being
  160.         properly escaped.  Problem noted by Peter Nilsson of the
  161.         University of Linkoping.
  162.     In some cases, sendmail would retain root permissions during queue
  163.         runs even if RunAsUser was set.  Problem noted by Mark
  164.         Thomas of Mark G. Thomas Consulting.
  165.     If the F=l flag was set on an SMTP mailer to indicate that it is
  166.         actually local delivery, and NOTIFY=SUCCESS is specified in
  167.         the envelope, and the receiving SMTP server speaks DSN, then
  168.         the DSN would be both generated locally and propogated to the
  169.         other end.
  170.     The U= mailer field didn't correctly extract the group id if the
  171.         user id was numeric.  Problem noted by Kenneth Herron of
  172.         MCI Telecommunications Communications.
  173.     If a message exceeded the fixed maximum size on input, the body of
  174.         the message was included in the bounce.  Note that this did
  175.         not occur if it exceeded the maximum _output_ size.  Problem
  176.         reported by Kyle Jones of UUNET.
  177.     PORTABILITY FIXES:
  178.         AIX4: 4.1 does't have a working setreuid(2); change the
  179.             AIX4 defines to use seteuid(2) instead, which
  180.             works on 4.1 as well as 4.2.  Problem noted by
  181.             Hσkan Lindholm of interAF, Sweden.
  182.         AIX4: use tzname[] vector to determine time zone name.
  183.             Patch from NAKAMURA Motonori of Kyoto University.
  184.         MkLinux: add Makefile.Linux.ppc and OSTYPE(mklinux) support.
  185.             Contributed by Paul DuBois <dubois@primate.wisc.edu>.
  186.         Solaris: kstat(3k) support for retrieving the load average.
  187.             This adds the LA_KSTAT definition for LA_TYPE.
  188.             The outline of the implementation was contributed
  189.             by Michael Tokarev of Telecom Service, JSC, Moscow.
  190.         HP-UX 10.0 gripes about the (perfectly legal!) forward
  191.             declaration of struct rusage at the top of conf.h;
  192.             change it to only be included if you are using gcc,
  193.             which is apparently the only compiler that requires
  194.             it in the first place.  Problem noted by Jeff
  195.             Earickson of Colby College.
  196.         IRIX: don't default to using gcc.  IRIX is a civilized
  197.             operating system that comes with a decent compiler
  198.             by default.  Problem noted by Barry Bouwsma and
  199.             Kari Hurtta.
  200.     CONFIG: specify F=9 as default in FEATURE(local_procmail) for
  201.         consistency with other local mailers.  Inconsistency
  202.         pointed out by Teddy Hogeborn <teddy@fukt.hk-r.se>.
  203.     CONFIG: if the "limited best mx" feature is used (to reduce DNS
  204.         overhead) as part of the bestmx_is_local feature, the
  205.         domain part was dropped from the name.  Patch from Steve
  206.         Hubert of the University of Washington, Seattle.
  207.     CONFIG: catch addresses of the form "user@.dom.ain"; these could
  208.         end up being translated to the null host name, which would
  209.         return any entry in /etc/hosts that had a space at the end
  210.         of the line.  Problem noted by Steve Hubert of the
  211.         University of Washington, Seattle.
  212.     CONFIG: add OSTYPE(aix4).  From Michael Sofka of Rensselaer
  213.         Polytechnic Institute.
  214.     MAKEMAP: tweak hash and btree parameters for better performance.
  215.         Patch from Matt Dillon of Best Internet Communications.
  216.     NEW FILES:
  217.         src/Makefiles/Makefile.Linux.ppc
  218.         cf/ostype/aix4.m4
  219.         cf/ostype/mklinux.m4
  220.  
  221. 8.8.2/8.8.2    96/10/18
  222.     SECURITY: fix a botch in the 7-bit MIME patch; the previous patch
  223.         changed the code but didn't fix the problem.
  224.     PORTABILITY FIXES:
  225.         Solaris: Don't use the system getusershell(3); it can
  226.             apparently corrupt the heap in some circumstances.
  227.             Problem found by Ken Pizzini of Spry, Inc.
  228.     OP.ME: document several mailer flags that were accidently omitted
  229.         from this document.  These flags were F=d, F=j, F=R, and F=9.
  230.     CONFIG: no changes.
  231.  
  232. 8.8.1/8.8.1    96/10/17
  233.     SECURITY: unset all environment variables that the resolver will
  234.         examine during queue runs and daemon mode.  Problem noted
  235.         by Dan Bernstein of the University of Illinois at Chicago.
  236.     SECURITY: in some cases an illegal 7-bit MIME-encoded text/plain
  237.         message could overflow a buffer if it was converted back
  238.         to 8 bits.  This caused core dumps and has the potential
  239.         for a remote attack.  Problem first noted by Gregory Shapiro
  240.         of WPI.
  241.     Avoid duplicate deliveries of error messages on systems that don't
  242.         have flock(2) support.  Patch from Motonori Nakamura of
  243.         Kyoto University.
  244.     Ignore null FallBackMX (V) options.  If this option is null (as
  245.         opposed to undefined) it can cause "null signature" syserrs
  246.         on illegal host names.
  247.     If a Base64 encoded text/plain message has no trailing newline in
  248.         the encoded text, conversion back to 8 bits will drop the
  249.         final line.  Problem noted by Pierre David.
  250.     If running with a RunAsUser, sendmail would give bogus "cannot
  251.         setuid" (or seteuid, or setreuid) messages on some systems.
  252.         Problem pointed out by Jordan Mendelson of Web Services, Inc.
  253.     Always print error messages in -bv mode -- previously, -bv would
  254.         be absolutely silent on errors if the error mode was sent
  255.         to (say) mail-back.  Problem noted by Kyle Jones of UUNET.
  256.     If -qI/R/S is set (or the ETRN command is used), ignore all long
  257.         term host status.  This is necessary because it is common
  258.         to do this when you know a host has just come back up.
  259.     Disallow duplicate HELO/EHLO commands as required by RFC 1651 section
  260.         4.2.  Excessive permissiveness noted by Lee Flight of the
  261.         University of Leicester.
  262.     If a service (such as NIS) is specified as the last entry in the
  263.         service switch, but that service is not compiled in, sendmail
  264.         would return a temporary failure when an entry was not found
  265.         in the map.  This caused the message to be queued instead of
  266.         bouncing immediately.  Problem noted by Harry Edmon of the
  267.         University of Washington.
  268.     PORTABILITY FIXES:
  269.         Solaris 2.3 had compilation problems in conf.c.  Several
  270.             people pointed this out.
  271.         NetBSD from Charles Hannum of MIT.
  272.         AIX4 improvements based on info from Steve Bauer of South
  273.             Dakota School of Mines & Technology.
  274.     CONFIG: ``error:code message'' syntax was broken in virtusertable.
  275.         Patch from Gil Kloepfer Jr.
  276.     CONFIG: if FEATURE(nocanonify) was specified, hosts in $=M (set
  277.         using MASQUERADE_DOMAIN) were not masqueraded unless they
  278.         were also in $=w.  Problem noted by Zoltan Basti of
  279.         Softec.
  280.     MAIL.LOCAL: patches to compile and link cleanly on AIX.  Based
  281.         on a patch from Eric Hagberg of Morgan Stanley.
  282.     MAIL.LOCAL: patches to compile on NEXTSTEP.  From Patrick Nolan
  283.         of Stanford via Robert La Ferla.
  284.  
  285. 8.8.0/8.8.0    96/09/26
  286.     Under some circumstances, Bcc: headers would not be properly
  287.         deleted.  Pointed out by Jonathan Kamens of OpenVision.
  288.     Log a warning if the sendmail daemon is invoked without a full
  289.         pathname, which prevents "kill -1" from working.  I was
  290.         urged to put this in by Andrey A. Chernov of DEMOS (Russia).
  291.     Fix small buffer overflow.  Since the data in this buffer was not
  292.         read externally, there was no security problem (and in fact
  293.         probably wouldn't really overflow on most compilers).  Pointed
  294.         out by KIZU takashi of Osaka University.
  295.     Fix problem causing domain literals such as [1.2.3.4] to be ignored
  296.         if a FallbackMXHost was specified in the configuration file
  297.         -- all mail would be sent to the fallback even if the original
  298.         host was accessible.  Pointed out by Munenari Hirayama of
  299.         NSC (Japan).
  300.     A message that didn't terminate with a newline would (sometimes) not
  301.         have the trailing "." added properly in the SMTP dialogue,
  302.         causing SMTP to hang.  Patch from Per Hedeland of Ericsson.
  303.     The DaemonPortOptions suboption to bind to a particular address was
  304.         incorrect and nonfunctional due to a misunderstanding of the
  305.         semantics of binding on a passive socket.  Patch from
  306.         NIIBE Yutaka of Mitsubishi Research Institute.
  307.     Increase the number of MX hosts for a single name to 100 to better
  308.         handle the truly huge service providers such as AOL, which
  309.         has 13 at the moment (and climbing).  In order to avoid
  310.         trashing memory, the buffer for all names has only been
  311.         slightly increased in size, to 12.8K from 10.2K -- this means
  312.         that if a single name had 100 MX records, the average size
  313.         of those records could not exceed 128 bytes.  Requested by
  314.         Brad Knowles of America On Line.
  315.     Restore use of IDENT returns where the OSTYPE field equals "OTHER".
  316.         Urged by Dan Bernstein of U.C. Berkeley.
  317.     Print q_statdate and q_specificity in address structure debugging
  318.         printout.
  319.     Expand MCI structure flag bits for debugging output.
  320.     Support IPv6-style domain literals, which can have colons between
  321.         square braces.
  322.     Log open file descriptors for the "cannot dup" messages in deliver();
  323.         this is an attempt to track down a bug that one person seems
  324.         to be having (it may be a Solaris bug!).
  325.     DSN NOTIFY parameters were not properly propogated across queue runs;
  326.         this caused the NOTIFY info to sometimes be lost.  Problem
  327.         pointed out by Claus Assmann of the
  328.         Christian-Albrechts-University of Kiel.
  329.     The statistics gathered in the sendmail.st file were too high; in
  330.         some cases failures (e.g., user unknown or temporary failure)
  331.         would count as a delivery as far as the statistics were
  332.         concerned.  Problem noted by Tom Moore of AT&T GIS.
  333.     Systems that don't have flock() would not send split envelopes in
  334.         the initial run.  Problem pointed out by Leonard Zubkoff of
  335.         Dandelion Digital.
  336.     Move buffer overflow checking -- these primarily involve distrusting
  337.         results that may come from NIS and DNS.
  338.     4.4-BSD-derived systems, including FreeBSD, NetBSD, and BSD/OS didn't
  339.         include <paths.h> and hence had the wrong pathnames for a few
  340.         things like /var/tmp.  Reported by Matthew Green.
  341.     Conditions were reversed for the Priority: header, resulting in all
  342.         values being interpreted as non-urgent except for non-urgent,
  343.         which was interpreted as normal.  Patch from Bryan Costales.
  344.     The -o (optional) flag was being ignored on hash and btree maps
  345.         since 8.7.2.  Fix from Bryan Costales.
  346.     Content-Types listed in class "q" will always be encoded as
  347.         Quoted-Printable (or more accurately, will never be encoded
  348.         as base64).  The class can have primary types (e.g., "text")
  349.         or full types (e.g., "text/plain").  Based on a suggestion by
  350.         Marius Olafsson of the University of Iceland.
  351.     Define ${envid} to be the original envelope id (from the ESMTP DSN
  352.         dialogue) so it can be passed to programs in mailers.
  353.     Define ${bodytype} to be the body type (from the -B flag or the
  354.         BODY= ESMTP parameter) so it can be passed to programs in
  355.         mailers.
  356.     Cause the VRFY command to return 252 instead of 250 unless the F=q
  357.         flag is set in the mailer descriptor.  Suggested by John
  358.         Myers of CMU.
  359.     Implement ESMTP ETRN command to flush the queue for a specific host.
  360.         The command takes a host name; data for that host is
  361.         immediately (and asynchronously) flushed.  Because this shares
  362.         the -qR implementation, other hosts may be attempted, but
  363.         there should be no security implications.  Implementation
  364.         from John Beck of InReference, Inc.  See RFC 1985 for details.
  365.     Add three new command line flags to pass in DSN parameters: -V envid
  366.         (equivalent to ENVID=envid on the MAIL command), -R ret
  367.         (equivalent to RET=ret on the MAIL command), and -Nnotify
  368.         (equivalent to NOTIFY=notify on the RCPT command).  Note
  369.         that the -N flag applies to all recipients; there is no way
  370.         to specify per-address notifications on the command line,
  371.         nor is there an equivalent for the ORCPT= per-address
  372.         parameter.
  373.     Restore LogLevel option to be safe (it can only be increased);
  374.         apparently I went into paranoid mode between 8.6 and 8.7
  375.         and made it unsafe.  Pointed out by Dabe Murphy of the
  376.         University of Maryland.
  377.     New logging on log level 15:  all SMTP traffic.  Patches from
  378.         Andrew Gross of San Diego Supercomputer Center.
  379.     NetInfo property value searching code wasn't stopping when it found
  380.         a match.  This was causing the wrong values to be found (and
  381.         had a memory leak).  Found by Bastian Schleuter of TU-Berlin.
  382.     Add new F=0 (zero) mailer flag to turn off MX lookups.  It was pointed
  383.         out by Bill Wisner of Electronics for Imaging that you can't
  384.         use the bracket address form for the MAIL_HUB macro, since
  385.         that causes the brackets to remain in the envelope recipient
  386.         address used for delivery.  The simple fix (stripping off the
  387.         brackets in the config file) breaks the use of IP literal
  388.         addresses.  This flag will solve that problem.
  389.     Add MustQuoteChars option.  This is a list of characters that must
  390.         be quoted if they are found in the phrase part of an address
  391.         (that is, the full name part).  The characters @,;:\()[] are
  392.         always in this list and cannot be removed.  The default is
  393.         this list plus . and ' to match RFC 822.
  394.     Add AllowBogusHELO option; if set, sendmail will allow HELO commands
  395.         that do not include a host name for back compatibility with
  396.         some stupid SMTP clients.  Setting this violates RFC 1123
  397.         section 5.2.5.
  398.     Add MaxDaemonChildren option; if this is set, sendmail will start
  399.         rejecting connections if it has more than this many
  400.         outstanding children accepting mail.  Note that you may
  401.         see more processes than this because of outgoing mail; this
  402.         is for incoming connections only.
  403.     Add ConnectionRateThrottle option.  If set to a positive value, the
  404.         number of incoming SMTP connections that will be permitted
  405.         in a single second is limited to this number.  Connections are
  406.         not refused during this time, just deferred.  The intent is to
  407.         flatten out demand so that load average limiting can kick in.
  408.         It is less radical than MaxDaemonChildren, which will stop
  409.         accepting connections even if all the connections are idle
  410.         (e.g., due to connection caching).
  411.     Add Timeout.hoststatus option.  This interval (defaulting to 30m)
  412.         specifies how long cached information about the state of a
  413.         host will be kept before they are considered stale and the
  414.         host is retried.  If you are using persistent host status
  415.         (i.e., the HostStatusDirectory option is set) this will apply
  416.         between runs; otherwise, it applies only within a single queue
  417.         run and hence is useful only for hosts that have large queues
  418.         that take a very long time to run.
  419.     Add SingleLineFromHeader option.  If set, From: headers are coerced
  420.         into being a single line even if they had newlines in them
  421.         when read.  This is to get around a botch in Lotus Notes.
  422.     Text class maps were totally broken -- if you ever retrieved the last
  423.         item in a table it would be truncated.  Problem noted by
  424.         Gregory Neil Shapiro of WPI.
  425.     Extend the lines printed by the mailq command (== the -bp flag) when
  426.         -v is given to 120 characters; this allows more information
  427.         to be displayed.  Suggested by Gregory Neil Shapiro of WPI.
  428.     Allow macro definitions (`D' lines) with unquoted commas; previously
  429.         this was treated as end-of-input.  Problem noted by Bryan
  430.         Costales.
  431.     The RET= envelope parameter (used for DSNs) wasn't properly written
  432.         to the queue file.  Fix from John Hughes of Atlantic
  433.         Technologies, Inc.
  434.     Close /var/tmp/dead.letter after a successful write -- otherwise
  435.         if this happens in a queue run it can cause nasty delays.
  436.         Problem noted by Mark Horton of AT&T.
  437.     If userdb entries pointed to userdb entries, and there were multiple
  438.         values for a given key, the database cursor would get
  439.         trashed by the recursive call.  Problem noted by Roy Mongiovi
  440.         of Georgia Tech.  Fixed by reading all the values and creating
  441.         a comma-separated list; thus, the -v output will be somewhat
  442.         different for this case.
  443.     Fix buffer allocation problem with Hesiod-based userdb maps when
  444.         HES_GETMAILHOST is defined.  Based on a patch by Betty Lee
  445.         of Stanford University.
  446.     When envelopes were split due to aliases with owner- aliases, and
  447.         there was some error on one of the lists, more than one of
  448.         the owners would get the message.  Problem pointed out by
  449.         Roy Mongiovi of Georgia Tech.
  450.     Detect excessive recursion in macro expansions, e.g., $X defined
  451.         in terms of $Y which is defined in terms of $X.  Problem
  452.         noted by Bryan Costales; patch from Eric Wassenaar.
  453.     When using F=U to get "ugly UUCP" From_ lines, a buffer could in
  454.         some cases get trashed causing bogus From_ lines.  Fix from
  455.         Kyle Jones of UUNET.
  456.     When doing load average initialization, if the nlist call for avenrun
  457.         failed, the second and subsequent lookups wouldn't notice
  458.         that fact causing bogus load averages to be returned.  Noted
  459.         by Casper Dik of Sun Holland.
  460.     Fix problem with incompatibility with some versions of inet_aton that
  461.         have changed the return value to unsigned, so a check for an
  462.         error return of -1 doesn't work.  Use INADDR_NONE instead.
  463.         This could cause mail to addresses such as [foo.com] to bounce
  464.         or get dropped.  Problem noted by Christophe Wolfhugel of the
  465.         Pasteur Institute.
  466.     DSNs were inconsistent if a failure occured during the DATA phase
  467.         rather than the RCPT phase: the Action: would be correct, but
  468.         the detailed status information would be wrong.  Problem noted
  469.         by Bob Snyder of General Electric Company.
  470.     Add -U command line flag and the XUSR ESMTP extension, both indicating
  471.         that this is the initial MUA->MTA submission.  The flag current
  472.         does nothing, but in future releases (when MUAs start using
  473.         these flags) it will probably turn on things like DNS
  474.         canonification.
  475.     Default end-of-line string (E= specification on mailer [M] lines)
  476.         to \r\n on SMTP mailers.  Default remains \n on non-SMTP
  477.         mailers.
  478.     Change the internal definition for the *file* and *include* mailers
  479.         to have $u in the argument vectors so that they aren't
  480.         misinterpreted as SMTP mailers and thus use \r\n line
  481.         termination.  This will affect anyone who has redefined
  482.         either of these in their configuration file.
  483.     Don't assume that IDENT servers close the connection after a query;
  484.         responses can be newline terminated.  From Terry Kennedy of
  485.         St. Peter's College.
  486.     Avoid core dumps on erroneous configuration files that have
  487.         $#mailer with nothing following.  From Bryan Costales.
  488.     Avoid null pointer dereference with high debug values in unlockqueue.
  489.         Fix from Randy Martin of Clemson University.
  490.     Fix possible buffer overrun when expanding very large macros.  Fix
  491.         from Kyle Jones of UUNET.
  492.     After 25 EXPN or VRFY commands, start pausing for a second before
  493.         processing each one.  This avoids a certain form of denial
  494.         of service attack.  Potential attack pointed out by Bryan
  495.         Costales.
  496.     Allow new named (not numbered!) config file rules to do validity
  497.         checking on SMTP arguments: check_mail for MAIL commands and
  498.         check_rcpt for RCPT commands.  These rulesets can do anything
  499.         they want; their result is ignored unless they resolve to the
  500.         $#error mailer, in which case the indicated message is printed
  501.         and the command is rejected.  Similarly, the check_compat
  502.         ruleset is called before delivery with "from_addr $| to_addr"
  503.         (the $| is a meta-symbol used to separate the two addresses);
  504.         it can give a "this sender can't send to this recipient"
  505.         notification.  Note that this patch allows $| to stand alone
  506.         in rulesets.
  507.     Define new macros ${client_name}, ${client_addr}, and ${client_port}
  508.         that have the name, IP address, and port number (respectively)
  509.         of the SMTP client (that is, the entity at the other end of
  510.         the connection.  These can be used in (e.g.) check_rcpt to
  511.         verify that someone isn't trying to relay mail through your
  512.         host inappropriately.  Be sure to use the deferred evaluation
  513.         form, for example $&{client_name}, to avoid having these bound
  514.         when sendmail reads the configuration file.
  515.     Add new config file rule check_relay to check the incoming connection
  516.         information.  Like check_compat, it is passed the host name
  517.         and host address separated by $| and can reject connections
  518.         on that basis.
  519.     Allow IDA-style recursive function calls.  Code contributed by Mark
  520.         Lovell and Paul Vixie.
  521.     Eliminate the "No ! in UUCP From address!" message" -- instead, create
  522.         a virtual UUCP address using either a domain address or the $k
  523.         macro.  Based on code contributed by Mark Lovell and Paul
  524.         Vixie.
  525.     Add Stanford LDAP map.  Requires special libraries that are not
  526.         included with sendmail.  Contributed by Booker C. Bense
  527.         <bbense@networking.stanford.edu>; contact him for support.
  528.         See also the src/READ_ME file.
  529.     Allow -dANSI to turn on ANSI escape sequences in debug output; this
  530.         puts metasymbols (e.g., $+) in reverse video.  Really useful
  531.         only for debugging deep bits of code where it is important to
  532.         distinguish between the single-character metasymbol $+ and the
  533.         two characters $, +.
  534.     Changed ruleset 89 (executed in dumpstate()) to a named ruleset,
  535.         debug_dumpstate.
  536.     Add new UnsafeGroupWrites option; if set, .forward and :include:
  537.         files that are group writable are considered "unsafe" -- that
  538.         is, programs and files referenced from such files are not
  539.         valid recipients.
  540.     Delete bogosity test for FallBackMX host; this prevented it to be a
  541.         name that was not in DNS or was a domain-literal.  Problem
  542.         noted by Tom May.
  543.     Change the introduction to error messages to more clearly delineate
  544.         permanent from temporary failures; if both existed in a
  545.         single message it could be confusing.  Suggested by John
  546.         Beck of InReference, Inc.
  547.     The IngoreDot (i) option didn't work for lines that were terminated
  548.         with CRLF.  Problem noted by Ted Stockwell of Secure
  549.         Computing Corporation.
  550.     Add a heuristic to improve the handling of unbalanced `<' signs in
  551.         message headers.  Problem reported by Matt Dillon of Best
  552.         Internet Communications.
  553.     Check for bogus characters in the 0200-0237 range; since these are
  554.         used internally, very strange errors can occur if those
  555.         characters appear in headers.  Problem noted by Anders Gertz
  556.         of Lysator.
  557.     Implement 7 -> 8 bit MIME conversions.  This only takes place if the
  558.         recipient mailer has the F=9 flag set, and only works on
  559.         text/plain body types.  Code contributed by Marius Olafsson
  560.         of the University of Iceland.
  561.     Special case "postmaster" name so that it is always treated as lower
  562.         case in alias files regardless of configuration settings;
  563.         this prevents some potential problems where "Postmaster" or
  564.         "POSTMASTER" might not match "postmaster".  In most cases
  565.         this change is a no-op.
  566.     The -o map flag was ignored for text maps.  Problem noted by Bryan
  567.         Costales.
  568.     The -a map flag was ignored for dequote maps.  Problem noted by
  569.         Bryan Costales.
  570.     Fix core dump when a lookup of a class "prog" map returns no
  571.         response.  Patch from Bryan Costales.
  572.     Log instances where sendmail is deferring or rejecting connections
  573.         on LogLevel 14.  Suggested by Kyle Jones of UUNET.
  574.     Include port number in process title for network daemons.  Suggested
  575.         by Kyle Jones of UUNET.
  576.     Send ``double bounces'' (errors that occur when sending an error
  577.         message) to the address indicated in the DoubleBounceAddress
  578.         option (default: postmaster).  Previously they were always
  579.         sent to postmaster.  Suggested by Kyle Jones of UUNET.
  580.     Add new mode, -bD, that acts like -bd in all respects except that
  581.         it runs in foreground.  This is useful for using with a
  582.         wrapper that "watches" system services.  Suggested by Kyle
  583.         Jones of UUNET.
  584.     Fix botch in spacing around (parenthesized) comments in addresses
  585.         when the comment comes before the address.  Patch from
  586.         Motonori Nakamura of Kyoto University.
  587.     Use the prefix "Postmaster notify" on the Subject: lines of messages
  588.         that are being bounced to postmaster, rather than "Returned
  589.         mail".  This permits the person who is postmaster more
  590.         easily determine what messages are to their role as
  591.         postmaster versus bounces to mail they actually sent.  Based
  592.         on a suggestion by Motonori Nakamura.
  593.     Add new value "time" for QueueSortOrder option; this causes the queue
  594.         to be sorted strictly by the time of submission.  Note that
  595.         this can cause very bad behaviour over slow lines (because
  596.         large jobs will tend to delay small jobs) and on nodes with
  597.         heavy traffic (because old things in the queue for hosts that
  598.         are down delay processing of new jobs).  Also, this does not
  599.         guarantee that jobs will be delivered in submission order
  600.         unless you also set DeliveryMode=queue.  In general, it should
  601.         probably only be used on the command line, and only in
  602.         conjunction with -qRhost.domain.  In fact, there are very few
  603.         cases where it should be used at all.  Based on an
  604.         implementation by Motonori Nakamura.
  605.     If a map lookup in ruleset 5 returns tempfail, queue the message in
  606.         the same manner as other rulesets.  Previously a temporary
  607.         failure in ruleset 5 was ignored.  Patch from Booker Bense
  608.         of Stanford University.
  609.     Don't proceed to the next MX host if an SMTP MAIL command returns a
  610.         5yz (permanent failure) code.  The next MX host will still be
  611.         tried if the connection cannot be opened in the first place
  612.         or if the MAIL command returns a 4yz (temporary failure) code.
  613.         (It's hard to know what to do here, since neither RFC 974 nor
  614.         RFC 1123 specify when to proceed to the next MX host.)
  615.         Suggested by Jonathan Kamens of OpenVision, Inc.
  616.     Add new "-t" flag for map definitions (the "K" line in the .cf file).
  617.         This causes map lookups that get a temporary failure (e.g.,
  618.         name server failure) to _not_ defer the delivery of the
  619.         message.  This should only be used if your configuration file
  620.         is prepared to do something sensible in this case.  Based on
  621.         an idea by Gregory Shapiro of WPI.
  622.     Fix problem finding network interface addresses.  Patch from
  623.         Motonori Nakamura.
  624.     Don't reject qf entries that are not owned by your effective uid if
  625.         you are not running setuid; this makes management of certain
  626.         kinds of firewall setups difficult.  Patch suggested by
  627.         Eamonn Coleman of Qualcomm.
  628.     Add persistent host status.  This keeps the information normally
  629.         maintained within a single queue run in disk files that are
  630.         shared between sendmail instances.  The HostStatusDirectory
  631.         is the directory in which the information is maintained.  If
  632.         not set, persistent host status is turned off.  If not a full
  633.         pathname, it is relative to the queue directory.  A common
  634.         value is ".hoststat".
  635.         There are also two new operation modes:
  636.           * -bh prints the status of hosts that have had recent
  637.             connections.
  638.           * -bH purges the host statuses.  No attempt is made to save
  639.             recent status information.
  640.         This feature was originally written by Paul Vixie of Vixie
  641.         Enterprises for KJS and adapted for V8 by Mark Lovell of
  642.         Bigrock Consulting.  Paul's funding of Mark and Mark's patience
  643.         with my insistence that things fit cleanly into the V8
  644.         framework is gratefully appreciated.
  645.     New SingleThreadDelivery option (requires HostStatusDirectory to
  646.         operate).  Avoids letting two sendmails on the local machine
  647.         open connections to the same remote host at the same time.  
  648.         This reduces load on the other machine, but can cause mail to
  649.         be delayed (for example, if one sendmail is delivering a huge
  650.         message, other sendmails won't be able to send even small
  651.         messages).  Also, it requires another file descriptor (for the
  652.         lock file) per connection, so you may have to reduce
  653.         ConnectionCacheSize to avoid running out of per-process
  654.         file descriptors.  Based on the persistent host status code
  655.         contributed by Paul Vixie and Mark Lovell.
  656.     Allow sending to non-simple files (e.g., /dev/null) even if the
  657.         SafeFileEnvironment option is set.  Problem noted by Bryan
  658.         Costales.
  659.     The -qR flag mistakenly matched flags in the "R" line of the queue
  660.         file.  Problem noted by Bryan Costales.
  661.     If a job was aborted using the interrupt signal (e.g., control-C from
  662.         the keyboard), on some occasions an empty df file would be
  663.         left around; these would collect in the queue directory.
  664.         Problem noted by Bryan Costales.
  665.     Change the makesendmail script to enhance the search for Makefiles
  666.         based on release number.  For example, on SunOS 5.5.1, it will
  667.         search for Makefile.SunOS.5.5.1, Makefile.SunOS.5.5, and then
  668.         Makefile.SunOS.5.x (in addition to the other rules, e.g.,
  669.         adding $arch).  Problem noted by Jason Mastaler of Atlanta
  670.         Webmasters.
  671.     When creating maps using "newaliases", always map the keys to lower
  672.         case when creating the map unless the -f flag is specified on
  673.         the map itself.  Previously this was done based on the F=u
  674.         flag in the local mailer, which meant you could create aliases
  675.         that you could never access.  Problem noted by Bob Wu of DEC.
  676.     When a job was read from the queue, the bits causing notification on
  677.         failure or delay were always set.  This caused those
  678.         notifications to be sent even if NOTIFY=NEVER had been
  679.         specified.  Problem noted by Steve Hubert of the University
  680.         of Washington, Seattle.
  681.     Add new configurable routine validate_connection (in conf.c).  This
  682.         lets you decide if you are willing to accept traffic from
  683.         this host.  If it returns FALSE, all SMTP commands will return
  684.         "550 Access denied".  -DTCPWRAPPERS will include support for
  685.         TCP wrappers; you will need to add -lwrap to the link line.
  686.         (See src/READ_ME for details.)
  687.     Don't include the "THIS IS A WARNING MESSAGE ONLY" banner on postmaster
  688.         bounces.  Some people seemed to think that this could be
  689.         confusing (even though it is true).  Suggested by Motonori
  690.         Nakamura.
  691.     Add new RunAsUser option; this causes sendmail to do a setuid to that
  692.         user early in processing to avoid potential security problems.
  693.         However, this means that all .forward and :include: files must
  694.         be readable by that user, and on systems that don't support the
  695.         saved uid bit properly, all files to be written must be
  696.         writable by that user and all programs will be executed by that
  697.         user.  It is also incompatible with the SafeFileEnvironment
  698.         option.  In other words, it may not actually add much to
  699.         security.  However, it should be useful on firewalls and other
  700.         places where users don't have accounts and the aliases file is
  701.         well constrained.
  702.     Add Timeout.iconnect.  This is like Timeout.connect except it is used
  703.         only on the first attempt to delivery to an address.  It could
  704.         be set to be lower than Timeout.connect on the principle that
  705.         the mail should go through quickly to responsive hosts; less
  706.         responsive hosts get to wait for the next queue run.
  707.     Fix a problem on Solaris that occassionally causes programs
  708.         (such as vacation) to hang with their standard input connected
  709.         to a UDP port.  It also created some signal handling problems.
  710.         The problems turned out to be an interaction between vfork(2)
  711.         and some of the libraries, particularly NIS/NIS+.  I am
  712.         indebted to Tor Egge <tegge@idt.ntnu.no> for this fix.
  713.     Change user class map to do the same matching that actual delivery
  714.         will do instead of just a /etc/passwd lookup.  This adds
  715.         fuzzy matching to the user map.  Patch from Dan Oscarsson.
  716.     The Timeout.* options are not safe -- they can be used to create a
  717.         denial-of-service attack.  Problem noted by Christophe
  718.         Wolfhugel.
  719.     Don't send PostMasterCopy messages in the event of a "delayed"
  720.         notification.  Suggested by Barry Bouwsma.
  721.     Don't advertise "VERB" ESMTP extension if the "noexpn" privacy
  722.         option is set, since this disables VERB mode.  Suggested
  723.         by John Hawkinson of MIT.
  724.     Complain if the QueueDirectory (Q) option is not set.  Problem noted
  725.         by Motonori Nakamura of Kyoto University.
  726.     Only queue messages on transient .forward open failures if there
  727.         were no successful opens.  The previous behaviour caused it
  728.         to queue even if a "fall back" .forward was found.  Problem
  729.         noted by Ann-Kian Yeo of the Dept. of Information Systems
  730.         and Computer Science (DISCS), NUS, Singapore.
  731.     Don't do 8->7 bit conversions when bouncing a MIME message that
  732.         is bouncing because of a MIME error during 8->7 bit conversion;
  733.         the encapsulated message will bounce again, causing a loop.
  734.         Problem noted by Steve Hubert of the University of Washington.
  735.     Create xf (transcript) files using the TempFileMode option value
  736.         instead of 0644.  Suggested by Ann-Kian Yeo of the
  737.         National University of Singapore.
  738.     Print errors if setgid/setuid/etc. fail during delivery.  This helps
  739.         detect cases where DefaultUid is set to something that the
  740.         system can't cope with.
  741.     PORTABILITY FIXES:
  742.         Support for AIX/RS 2.2.1 from Mark Whetzel of Western
  743.             Atlas International.
  744.         Patches for Intel Paragon OSF/1 1.3 from Leo Bicknell
  745.             <bicknell@ufp.org>.
  746.         On DEC OSF/1 3.2 and earlier, the MatchGECOS code would only
  747.             work on the first recipient of a message due to a
  748.             bug in the getpwent family.  If this is something you
  749.             use, you can define DEC_OSF_BROKEN_GETPWENT=1 for a
  750.             workaround.  From Maximum Entropy of Sanford C.
  751.             Bernstein and Associates.
  752.         FreeBSD 1.1.5.1 uname -r returns a string containing
  753.             parentheses, which breaks makesendmail.  Reported
  754.             by Piero Serini <piero@strider.ibenet.it>.
  755.         Sequent DYNIX/ptx 4.0.2 patches from Jack Woolley of
  756.             Systems and Computer Technology Corporation.
  757.         Solaris 2.x: omit the UUCP grade parameter (-g flag) because
  758.             it is system-dependent.  Problem noted by J.J. Bailey
  759.             of Bailey Computer Consulting.
  760.         Pyramid NILE running DC/OSx support from Earle F. Ake of
  761.             Hassler Communication Systems Technology, Inc.
  762.         HP-UX 10.x compile glitches, reported by Anne Brink of the
  763.             U.S. Army and James Byrne of Harte & Lyne Limited.
  764.         NetBSD from Matthew Green of the NetBSD crew.
  765.         SCO 5.x from Keith Reynolds of SCO.
  766.         IRIX 6.2 from Robert Tarrall of the University of
  767.             Colorado and Kari Hurtta of the Finnish Meteorological
  768.             Institute.
  769.         UXP/DS (Fujitsu/ICL DS/90 series) support from Diego R.
  770.             Lopez, CICA (Seville).
  771.         NCR SVR4 MP-RAS 3.x support from Tom Moore of NCR.
  772.         PTX 3.2.0 from Kenneth Stailey of the US Department of Labor
  773.             Employment Standards Administration.
  774.         Altos System V (5.3.1) from Tim Rice of Multitalents.
  775.         Concurrent Systems Corporation Maxion from Donald R. Laster
  776.             Jr.
  777.         NetInfo maps (improved debugging and multi-valued aliases)
  778.             from Adrian Steinmann of Steinmann Consulting.
  779.         ConvexOS 11.5 (including SecureWare C2 and the Share Scheduler)
  780.             from Eric Schnoebelen of Convex.
  781.         Linux 2.0 mail.local patches from Horst von Brand.
  782.         NEXTSTEP 3.x compilation from Robert La Ferla.
  783.         NEXTSTEP 3.x code changes from Allan J. Nathanson of NeXT.
  784.         Solaris 2.5 configuration fixes for mail.local by Jim Davis
  785.             of the University of Arizona.
  786.         Solaris 2.5 has a working setreuid.  Noted by David Linn of
  787.             Vanderbilt University.
  788.         Solaris changes for praliases, makemap, mailstats, and smrsh.
  789.             Previously you had to add -DSOLARIS in Makefile.dist;
  790.             this auto-detects.  Based on a patch from Randall
  791.             Winchester of the University of Maryland.
  792.     CONFIG: add generic-nextstep3.3.mc file.  Contributed by
  793.         Robert La Ferla of Hot Software.
  794.     CONFIG: allow mailertables to resolve to ``error:code message''
  795.         (where "code" is an exit status) on domains (previously
  796.         worked only on hosts).  Patch from Cor Bosman of Xs4all
  797.         Foundation.
  798.     CONFIG: hooks for IPv6-style domain literals.
  799.     CONFIG: predefine ALIAS_FILE and change the prototype file so that
  800.         if it is undefined the AliasFile option is never set; this
  801.         should be transparent for most everyone.  Suggested by John
  802.         Myers of CMU.
  803.     CONFIG: add FEATURE(limited_masquerade).  Without this feature, any
  804.         domain listed in $=w is masqueraded.  With it, only those
  805.         domains listed in a MASQUERADE_DOMAIN macro are masqueraded.
  806.     CONFIG: add FEATURE(masquerade_entire_domain).  This causes
  807.         masquerading specified by MASQUERADE_DOMAIN to apply to all
  808.         hosts under those domains as well as the domain headers
  809.         themselves.  For example, if a configuration had
  810.         MASQUERADE_DOMAIN(foo.com), then without this feature only
  811.         foo.com would be masqueraded; with it, *.foo.com would be
  812.         masqueraded as well.  Based on an implementation by Richard
  813.         (Pug) Bainter of U. Texas.
  814.     CONFIG: add FEATURE(genericstable) to do a more general rewriting of
  815.         outgoing addresses.  Defaults to ``hash -o /etc/genericstable''.
  816.         Keys are user names; values are outgoing mail addresses.  Yes,
  817.         this does overlap with the user database, and figuring out
  818.         just when to use which one may be tricky.  Based on code
  819.         contributed by Richard (Pug) Bainter of U. Texas with updates
  820.         from Per Hedeland of Ericsson.
  821.     CONFIG: add FEATURE(virtusertable) to do generalized rewriting of
  822.         incoming addresses.  Defaults to ``hash -o /etc/virtusertable''.
  823.         Keys are either fully qualified addresses or just the host
  824.         part (with the @ sign).  For example, a table containing:
  825.             info@foo.com    foo-info
  826.             info@bar.com    bar-info
  827.             @baz.org    jane@elsewhere.net
  828.         would send all mail destined for info@foo.com to foo-info
  829.         (which is presumably an alias), mail addressed to info@bar.com
  830.         to bar-info, and anything addressed to anyone at baz.org will
  831.         be sent to jane@elsewhere.net.  The names foo.com, bar.com,
  832.         and baz.org must all be in $=w.  Based on discussions with
  833.         a great many people.
  834.     CONFIG: add nullclient configurations to define SMTP_MAILER_FLAGS.
  835.         Suggested by Richard Bainter.
  836.     CONFIG: add FAX_MAILER_ARGS to tweak the arguments passed to the
  837.         "fax" mailer.
  838.     CONFIG: allow mailertable entries to resolve to local:user; this
  839.         passes the original user@host in to procmail-style local
  840.         mailers as the "detail" information to allow them to do
  841.         additional clever processing.  From Joe Pruett of
  842.         Teleport Corporation.  Delivery to the original user can
  843.         be done by specifying "local:" (with nothing after the colon).
  844.     CONFIG: allow any context that takes "mailer:domain" to also take
  845.         "mailer:user@domain" to force mailing to the given user;
  846.         "local:user" can also be used to do local delivery.  This
  847.         applies on *_RELAY and in the mailertable entries.  Based
  848.         on a suggestion by Ribert Kiessling of Easynet.
  849.     CONFIG: Allow FEATURE(bestmx_is_local) to take an argument that
  850.         limits the possible domains; this reduces the number of DNS
  851.         lookups required to support this feature.  For example,
  852.         FEATURE(bestmx_is_local, my.site.com) limits the lookups
  853.         to domains under my.site.com.  Code contributed by Anthony
  854.         Thyssen <anthony@cit.gu.edu.au>.
  855.     CONFIG: LOCAL_RULESETS introduces any locally defined rulesets,
  856.         such as the check_rcpt ruleset.  Suggested by Gregory Shapiro
  857.         of WPI.
  858.     CONFIG: MAILER_DEFINITIONS introduces any mailer definitions, in the
  859.         event you have to define local mailers.  Suggested by
  860.         Gregory Shapiro of WPI.
  861.     CONFIG: fix cases where a three- (or more-) stage route-addr could
  862.         be misinterpreted as a list:...; syntax.  Based on a patch by
  863.         Vlado Potisk <Vlado_Potisk@tempest.sk>.
  864.     CONFIG: Fix masquerading of UUCP addresses when the UUCP relay is
  865.         remotely connected.  The address host!user was being
  866.         converted to host!user@thishost instead of host!user@uurelay.
  867.         Problem noted by William Gianopoulos of Raytheon Company.
  868.     CONFIG: add confTO_ICONNECT to set Timeout.iconnect.
  869.     CONFIG: change FEATURE(redirect) message from "User not local" to
  870.         "User has moved"; the former wording was confusing if the
  871.         new address is still on the local host.  Based on a suggestion
  872.         by Andreas Luik.
  873.     CONFIG: add support in FEATURE(nullclient) for $=E (exposed users).
  874.         However, the class is not pre-initialized to contain root.
  875.         Suggested by Gregory Neil Shapiro.
  876.     CONTRIB: Remove XLA code at the request of the author, Christophe
  877.         Wolfhugel.
  878.     CONTRIB: Add re-mqueue.pl, contributed by Paul Pomes of Qualcomm.
  879.     MAIL.LOCAL: make it possible to compile mail.local on Solaris.  Note
  880.         well: this produces a slightly different mailbox format (no
  881.         Content-Length: headers), file ownerships and modes are
  882.         different (not owned by group mail; mode 600 instead of 660),
  883.         and the local mailer flags will have to be tweaked (make them
  884.         match bsd4.4) in order to use this mailer.  Patches from Paul
  885.         Hammann of the Missouri Research and Education Network.
  886.     MAIL.LOCAL: in some cases it could return EX_OK even though there
  887.         was a delivery error, such as if the ownership on the file
  888.         was wrong or the mode changed between the initial stat and
  889.         the open.  Problem reported by William Colburn of the New
  890.         Mexico Institute of Mining and Technology.
  891.     MAILSTATS: handle zero length files more reliably.  Patch from Bryan
  892.         Costales.
  893.     MAILSTATS: add man page contributed by Keith Bostic of BSDI.
  894.     MAKEMAP: The -d flag (to allow duplicate keys) to a btree map wasn't
  895.         honored.  Fix from Michael Scott Shappe.
  896.     PRALIASES: add man page contributed by Keith Bostic of BSDI.
  897.     NEW FILES:
  898.         src/Makefiles/Makefile.AIX.2
  899.         src/Makefiles/Makefile.IRIX.6.2
  900.         src/Makefiles/Makefile.maxion
  901.         src/Makefiles/Makefile.NCR.MP-RAS.3.x
  902.         src/Makefiles/Makefile.SCO.5.x
  903.         src/Makefiles/Makefile.UXPDSV20
  904.         mailstats/mailstats.8
  905.         praliases/praliases.8
  906.         cf/cf/generic-nextstep3.3.mc
  907.         cf/feature/genericstable.m4
  908.         cf/feature/limited_masquerade.m4
  909.         cf/feature/masquerade_entire_domain.m4
  910.         cf/feature/virtusertable.m4
  911.         cf/ostype/aix2.m4
  912.         cf/ostype/altos.m4
  913.         cf/ostype/maxion.m4
  914.         cf/ostype/solaris2.ml.m4
  915.         cf/ostype/uxpds.m4
  916.         contrib/re-mqueue.pl
  917.     DELETED FILES:
  918.         src/Makefiles/Makefile.Solaris
  919.         contrib/xla/README
  920.         contrib/xla/xla.c
  921.     RENAMED FILES:
  922.         src/Makefiles/Makefile.NCR3000 =>    Makefile.NCR.MP-RAS.2.x
  923.         src/Makefiles/Makefile.SCO.3.2v4.2 =>    Makefile.SCO.4.2
  924.         src/Makefiles/Makefile.UXPDS =>        Makefile.UXPDSV10
  925.         src/Makefiles/Makefile.NeXT =>        Makefile.NeXT.2.x
  926.         src/Makefiles/Makefile.NEXTSTEP =>    Makefile.NeXT.3.x
  927.  
  928. 8.7.6/8.7.3    96/09/17
  929.     SECURITY: It is possible to force getpwuid to fail when writing the
  930.         queue file, causing sendmail to fall back to running programs
  931.         as the default user.  This is not exploitable from off-site.
  932.         Workarounds include using a unique user for the DefaultUser
  933.         (old u & g options) and using smrsh as the local shell.
  934.     SECURITY: fix some buffer overruns; in at least one case this allows
  935.         a local user to get root.  This is not known to be exploitable
  936.         from off-site.  The workaround is to disable chfn(1) commands.
  937.  
  938. 8.7.5/8.7.3    96/03/04
  939.     Fix glitch in 8.7.4 when putting certain internal lines; this can
  940.         in some case cause connections to hang or messages to have
  941.         extra spaces in odd places.  Patch from Eric Wassenaar;
  942.         reports from Eric Hall of Chiron Corporation, Stephen
  943.         Hansen of Stanford University, Dean Gaudet of HotWired,
  944.         and others.
  945.  
  946. 8.7.4/8.7.3    96/02/18
  947.     SECURITY: In some cases it was still possible for an attacker to
  948.         insert newlines into a queue file, thus allowing access to
  949.         any user (except root).
  950.     CONFIG: no changes -- it is not a bug that the configuration
  951.         version number is unchanged.
  952.  
  953. 8.7.3/8.7.3    95/12/03
  954.     Fix botch in name server timeout in RCPT code; this problem caused
  955.         two responses in SMTP, which breaks things horribly.  Fix
  956.         from Gregory Neil Shapiro of WPI.
  957.     Verify that L= value on M lines cannot be negative, which could cause
  958.         negative array subscripting.  Not a security problem since
  959.         this has to be in the config file, but it could have caused
  960.         core dumps.  Pointed out by Bryan Costales.
  961.     Fix -d21 debug output for long macro names.  Pointed out by Bryan
  962.         Costales.
  963.     PORTABILITY FIXES:
  964.         SCO doesn't have ftruncate.  From Bill Aten of Computerizers.
  965.         IBM's version of arpa/nameser.h defaults to the wrong byte
  966.             order.  Tweak it to work properly.  Based on fixes
  967.             from Fletcher Mattox of UTexas and Betty Lee of
  968.             Stanford University.
  969.     CONFIG: add confHOSTS_FILE m4 variable to set HostsFile option.
  970.         Deficiency pointed out by Bryan Costales of ICSI.
  971.  
  972. 8.7.2/8.7.2    95/11/19
  973.     REALLY fix the backslash escapes in SmtpGreetingMessage,
  974.         OperatorChars, and UnixFromLine options.  They were not
  975.         properly repaired in 8.7.1.
  976.     Completely delete the Bcc: header if and only if there are other
  977.         valid recipient headers (To:, Cc: or Apparently-To:, the
  978.         last being a historic botch, of course).  If Bcc: is the
  979.         only recipient header in the message, it's value is tossed,
  980.         but the header name is kept.  The old behaviour (always keep
  981.         the header name and toss the value) allowed primary recipients
  982.         to see that a Bcc: went to _someone_.
  983.     Include queue id on ``Authentication-Warning: <host>: <user> set
  984.         sender to <addresss> using -f'' syslog messages.  Suggested
  985.         by Kari Hurtta.
  986.     If a sequence or switch map lookup entry gets a tempfail but then
  987.         continues on to another map type, but the name is not found,
  988.         return a temporary failure from the sequence or switch map.
  989.         For example, if hosts search ``dns files'' and DNS fails
  990.         with a tempfail, the hosts map will go on and search files,
  991.         but if it fails the whole thing should be a tempfail, not
  992.         a permanent (host unknown) failure, even though that is the
  993.         failure in the hosts.files map.  This error caused hard
  994.         bounces when it should have requeued.
  995.     Aliases to files such as /users/bar/foo/inbox, with /users/bar/foo
  996.         owned by bar mode 700 and inbox being setuid bar stopped
  997.         working properly due to excessive paranoia.  Pointed out by
  998.         John Hawkinson of Panix.
  999.     An SMTP RCPT command referencing a host that gave a nameserver
  1000.         timeout would return a 451 command (8.6 accepted it and
  1001.         queued it locally).  Revert to the 8.6 behaviour in order
  1002.         to simplify queue management for clustered systems.  Suggested
  1003.         by Gregory Neil Shapiro of WPI.  The same problem could break
  1004.         MH, which assumes that the SMTP session will succeed (tsk, tsk
  1005.         -- mail gets lost!); this was pointed out by Stuart Pook of
  1006.         Infobiogen.
  1007.     Fix possible buffer overflow in munchstring().  This was not a security
  1008.         problem because you couldn't specify any argument to this
  1009.         without first giving up root privileges, but it is still a
  1010.         good idea to avoid future problems.  Problem noted by John
  1011.         Hawkinson and Sam Hartman of MIT.
  1012.     ``452 Out of disk space for temp file'' messages weren't being
  1013.         printed.  Fix from David Perlin of Nanosoft.
  1014.     Don't advertise the ESMTP DSN extension if the SendMIMEErrors option
  1015.         is not set, since this is required to get the actual DSNs
  1016.         created.  Problem pointed out by John Gardiner Myers of CMU.
  1017.     Log permission problems that cause .forward and :include: files to
  1018.         be untrusted or ignored on log level 12 and higher.  Suggestted
  1019.         by Randy Martin of Clemson University.
  1020.     Allow user ids in U= clauses of M lines to have hyphens and
  1021.         underscores.
  1022.     Fix overcounting of recipients -- only happened when sending to an
  1023.         alias.  Pointed out by Mark Andrews of SGI and Jack Woolley
  1024.         of Systems and Computer Technology Corporation.
  1025.     If a message is sent to an address that fails, the error message that
  1026.         is returned could show some extraneous "success" information
  1027.         included even if the user did not request success notification,
  1028.         which was confusing.  Pointed out by Allan Johannesen of WPI.
  1029.     Config files that had no AliasFile definition were defaulting to
  1030.         using /etc/aliases; this caused problems with nullclient
  1031.         configurations.  Change it back to the 8.6 semantics of
  1032.         having no local alias file unless it is declared.  Problem
  1033.         noted by Charles Karney of Princeton University.
  1034.     Fix compile problem if NOTUNIX is defined.  Pointed out by Bryan
  1035.         Costales of ICSI.
  1036.     Map lookups of class "userdb" maps were always case sensitive; they
  1037.         should be controlled by the -f flag like other maps.  Pointed
  1038.         out by Bjart Kvarme <bjart.kvarme@usit.uio.no>.
  1039.     Fix problem that caused some addresses to be passed through ruleset 5
  1040.         even when they were tagged as "sticky" by prefixing the
  1041.         address with an "@".  Patch from Thomas Dwyer III of Michigan
  1042.         Technological University.
  1043.     When converting a message to Quoted-Printable, prevent any lines with
  1044.         dots alone on a line by themselves.  This is because of the
  1045.         preponderence of broken mailers that still get this wrong.
  1046.         Code contributed by Per Hedeland of Ericsson.
  1047.     Fix F{macro}/file construct -- it previously did nothing.  Pointed
  1048.         out by Bjart Kvarme of USIT/UiO (Norway).
  1049.     Announce whether a cached connection is SMTP or ESMTP (in -v mode).
  1050.         Requested by Allan Johannesen.
  1051.     Delete check for text format of alias files -- it should be legal
  1052.         to have the database format of the alias files without the
  1053.         text version.  Problem pointed out by Joe Rhett of Navigist,
  1054.         Inc.
  1055.     If "Ot" was specified with no value, the TZ variable was not properly
  1056.         imported from the environment.  Pointed out by Frank Crawford
  1057.         <frank@ansto.gov.au>.
  1058.     Some architectures core dumped on "program" maps that didn't have
  1059.         extra arguments.  Patch from Booker C. Bense of Stanford
  1060.         University.
  1061.     Queue run processes would re-spawn daemons when given a SIGHUP; only
  1062.         the parent should do this.  Fix from Brian Coan of the
  1063.         Association for Progressive Communications.
  1064.     If MinQueueAge was set and a message was considered but not run
  1065.         during a queue run and the Timeout.queuereturn interval was
  1066.         reached, a "timed out" error message would be returned that
  1067.         didn't include the failed address (and claimed to be a warning
  1068.         even though it was fatal).  The fix is to not return such
  1069.         messages until they are actually tried, i.e., in the next
  1070.         MinQueueAge interval.  Problem noted by Rein Tollevik of
  1071.         SINTEF RUNIT, Oslo.
  1072.     Add HES_GETMAILHOST compile flag to support MIT Hesiod distributions
  1073.         that have the hes_getmailhost() routine.  DEC Hesiod
  1074.         distributions do not have this routine.  Based on a patch
  1075.         from Betty Lee of Stanford University.
  1076.     Extensive cleanups to map open code to handle a locking race condition
  1077.         in ndbm, hash, and btree format database files on some (most
  1078.         non-4.4-BSD based) OS architectures.  This should solve the
  1079.         occassional "user unknown" problem during alias rebuilds that
  1080.         has plagued me for quite some time.  Based on a patch from
  1081.         Thomas Dwyer III of Michigan Technological University.
  1082.     PORTABILITY FIXES:
  1083.         Solaris: Change location of newaliases and mailq from
  1084.             /usr/ucb to /usr/bin to match Sun settings.  From
  1085.             James B. Davis of TCI.
  1086.         DomainOS: Makefile.DomainOS doesn't require -ldbm.  From
  1087.             Don Lewis of Silicon Systems.
  1088.         HP-UX 10: rename Makefile.HP-UX.10 => Makefile.HP-UX.10.x
  1089.             so that the makesendmail script will find it.  Pointed
  1090.             out by Richard Allen of the University of Iceland.
  1091.             Also, use -Aa -D_HPUX_SOURCE instead of -Ae, which
  1092.             isn't supported on all compilers.
  1093.         UXPDS: compilation fixes from Diego R. Lopez.
  1094.     CONFIG: FAX mailer wasn't setting .FAX as a pseudo-domain unless
  1095.         you also had a FAX_RELAY.  From Thomas.Tornblom@Hax.SE.
  1096.     CONFIG: Minor glitch in S21 -- attachment of local domain name
  1097.         didn't have trailing dot.  From Jim Hickstein of Teradyne.
  1098.     CONFIG: Fix best_mx_is_local feature to allow nested addresses such as
  1099.         user%host@thishost.  From Claude Scarpelli of Infobiogen
  1100.         (France).
  1101.     CONFIG: OSTYPE(hpux10) failed to define the location of the help file.
  1102.         Pointed out by Hannu Martikka of Nokia Telecommunications.
  1103.     CONFIG: Diagnose some inappropriate ordering in configuration files,
  1104.         such as FEATURE(smrsh) listed after MAILER(local).  Based on
  1105.         a bug report submitted by Paul Hoffman of Proper Publishing.
  1106.     CONFIG: Make OSTYPE files consistently not override settings that
  1107.         have already been set.  Previously it worked differently
  1108.         for different files.
  1109.     CONFIG: Change relay mailer to do masquerading like 8.6 did.  My take
  1110.         is that this is wrong, but the change was causing problems
  1111.         for some people.  From Per Hedeland of Ericsson.
  1112.     CONTRIB: bitdomain.c patch from John Gardiner Myers <jgm+@CMU.EDU>;
  1113.         portability changes for Posix environments (no functional
  1114.         changes).
  1115.  
  1116. 8.7.1/8.7.1    95/10/01
  1117.     Old macros that have become options (SmtpGreetingMessage,
  1118.         OperatorChars, and UnixFromLine) didn't allow backslash
  1119.         escapes in the options, where they previously had.  Bug
  1120.         pointed out by John Hawkinson of MIT.
  1121.     Fix strange case of an executable called by a program map that
  1122.         returns a value but also a non-zero exit status; this
  1123.         would give contradictory results in the higher level; in
  1124.         particular, the default clause in the map lookup would be
  1125.         ignored.  Change to ignore the value if the program returns
  1126.         non-zero exit status.  From Tom Moore of AT&T GIS.
  1127.     Shorten parameters passed to syslog() in some contexts to avoid a
  1128.         bug in many vendors' implementations of that routine.  Although
  1129.         this isn't really a bug in sendmail per se, and my solution
  1130.         has to assume that syslog() has at least a 1K buffer size
  1131.         internally (I know some vendors have shortened this
  1132.         dramatically -- they're on their own), sendmail is a popular
  1133.         target.  Also, limit the size of %s arguments in sprintf.
  1134.         These both have possible security implications.  Solutions
  1135.         suggested by Casper Dik of Sun's Network Security Group
  1136.         (Holland), Mark Seiden, and others.
  1137.     Fix a problem that might cause a non-standard -B (body type)
  1138.         parameter to be passed to the next server with undefined
  1139.         results.  This could have security implications.
  1140.     If a filesystem was at > 100% utilization, the freediskspace()
  1141.         routine incorrectly returned an error rather than zero.
  1142.         Problem noted by G. Paul Ziemba of Alantec.
  1143.     Change MX sort order so that local hostnames (those in $=w) always
  1144.         sort first within a given preference.  This forces the bestmx
  1145.         map to always return the local host first, if it is included
  1146.         in the list of highest priority MX records.  From K. Robert
  1147.         Elz.
  1148.     Avoid some possible null pointer dereferences.  Fixes from Randy
  1149.         Martin <WOLF@CLEMSON.EDU>
  1150.     When sendmail starts up on systems that have no fully qualified
  1151.         domain name (FQDN) anywhere in the first matching host map
  1152.         (e.g., /etc/hosts if the hosts service searches "files dns"),
  1153.         sendmail would sleep to try to find a FQDN, which it really
  1154.         really needs.  This has been changed to fall through to the
  1155.         next map type if it can't find a FQDN -- i.e., if the hosts
  1156.         file doesn't have a FQDN, it will try dns even though the
  1157.         short name was found in /etc/hosts.  This is probably a crock,
  1158.         but many people have hosts files without FQDNs.  Remember:
  1159.         domain names are your friends.
  1160.     Log a high-priority message if you can't find your FQDN during startup.
  1161.         Suggested by Simon Barnes of Schlumberger Limited.
  1162.     When using Hesiod, initialize it early to improve error reporting.
  1163.         Patch from Don Lewis of Silicon Systems, Inc.
  1164.     Apparently at least some versions of Linux have a 90 !minute! TCP
  1165.         connection timeout in the kernel.  Add a new "connect" timeout
  1166.         to limit this time.  Defaults to zero (use whatever the
  1167.         kernel provides).  Based on code contributed by J.R. Oldroyd
  1168.         of TerraNet.
  1169.     Under some circumstances, a failed message would not be properly
  1170.         removed from the queue, causing tons of bogus error messages.
  1171.         (This fix eliminates the problematic EF_KEEPQUEUE flag.)
  1172.         Problem noted by Allan E Johannesen and Gregory Neil Shapiro
  1173.         of WPI.
  1174.     PORTABILITY FIXES:
  1175.         On IRIX 5.x, there was an inconsistency in the setting
  1176.             of sendmail.st location.  Change the Makefile to
  1177.             install it in /var/sendmail.st to match the OSTYPE
  1178.             file and SGI standards.  From Andre
  1179.             <andre@curry.zfe.siemens.de>.
  1180.         Support for Fujitsu/ICL UXP/DS (For the DS/90 Series)
  1181.             from Diego R. Lopez <drlopez@cica.es>.
  1182.         Linux compilation patches from J.R. Oldroyd of TerraNet, Inc.
  1183.         LUNA 2 Mach patches from Motonori Nakamura.
  1184.         SunOS Makefile was including -ldbm, which is for the old
  1185.             dbm library.  The ndbm library is part of libc.
  1186.     CONFIG: avoid bouncing ``user@host.'' (note trailing dot) with
  1187.         ``local configuration error'' in nullclient configuration.
  1188.         Patch from Gregory Neil Shapiro of WPI.
  1189.     CONFIG: don't allow an alias file in nullclient configurations --
  1190.         since all addresses are relayed, they give errors during
  1191.         rebuild.  Suggested by Per Hedeland of Ericsson.
  1192.     CONFIG: local mailer on Solaris 2 should always get a -f flag because
  1193.         otherwise the F=S causes the From_ line to imply that root is
  1194.         the sender.  Problem pointed out by Claude Scarpelli of
  1195.         Infobiogen (France).
  1196.     NEW FILES:
  1197.         cf/feature/use_ct_file.m4 (omitted from 8.7 by mistake)
  1198.         src/Makefiles/Makefile.KSR (omitted from 8.7 by mistake)
  1199.         src/Makefiles/Makefile.UXPDS
  1200.  
  1201. 8.7/8.7        95/09/16
  1202.     Fix a problem that could cause sendmail to run out of file
  1203.         descriptors due to a trashed data structure after a
  1204.         vfork.  Fix from Brian Coan of the Institute for
  1205.         Global Communications.
  1206.     Change the VRFY response if you have disabled VRFY -- some
  1207.         people seemed to think that it was too rude.
  1208.     Avoid reference to uninitialized file descriptor if HASFLOCK
  1209.         was not defined.  This was used "safely" in the sense
  1210.         that it only did a stat, but it would have set the
  1211.         map modification time improperly.  Problem pointed out
  1212.         by Roy Mongiovi of Georgia Tech.
  1213.     Clean up the Subject: line on warning messages and return
  1214.         receipts so that they don't say "Returned mail:"; this
  1215.         can be confusing.
  1216.     Move ruleset entry/exit debugging from 21.2 to 21.1 -- this is
  1217.         useful enough to make it worthwhile printing on "-d".
  1218.     Avoid logging alias statistics every time you read the alias
  1219.         file on systems with no database method compiled in.
  1220.     If you have a name with a trailing dot, and you try looking it
  1221.         up using gethostbyname without the dot (for /etc/hosts
  1222.         compatibility), be sure to turn off RES_DEFNAMES and
  1223.         RES_DNSRCH to avoid finding the wrong name accidently.
  1224.         Problem noted by Charles Amos of the University of
  1225.         Maryland.
  1226.     Don't do timeouts in collect if you are not running SMTP.
  1227.         There is nothing that says you can't have a long
  1228.         running program piped into sendmail (possibly via
  1229.         /bin/mail, which just execs sendmail).  Problem reported
  1230.         by Don "Truck" Lewis of Silicon Systems.
  1231.     Try gethostbyname() even if the DNS lookup fails iff option I
  1232.         is not set.  This allows you to have hosts listed in
  1233.         NIS or /etc/hosts that are not known to DNS.  It's normally
  1234.         a bad idea, but can be useful on firewall machines.  This
  1235.         should really be broken out on a separate flag, I suppose.
  1236.     Avoid compile warnings against BIND 4.9.3, which uses function
  1237.         prototypes.  From Don Lewis of Silicon Systems.
  1238.     Avoid possible incorrect diagnosis of DNS-related errors caused
  1239.         by things like attempts to resolve uucp names using
  1240.         $[ ... $] -- the fix is to clear h_errno at appropriate
  1241.         times.  From Kyle Jones of UUNET.
  1242.     SECURITY: avoid denial-of-service attacks possible by destroying
  1243.         the alias database file by setting resource limits low.
  1244.         This involves adding two new compile-time options:
  1245.         HASSETRLIMIT (indicating that setrlimit(2) support is
  1246.         available) and HASULIMIT (indicating that ulimit(2) support
  1247.         is available -- the Release 3 form is used).  The former
  1248.         is assumed on BSD-based systems, the latter on System
  1249.         V-based systems.  Attack noted by Phil Brandenberger of
  1250.         Swarthmore University.
  1251.     New syntaxes in test (-bt) mode:
  1252.         ``.Dmvalue'' will define macro "m" to "value".
  1253.         ``.Ccvalue'' will add "value" to class "c".
  1254.         ``=Sruleset'' will dump the contents of the indicated
  1255.             ruleset.
  1256.         ``=M'' will display the known mailers.
  1257.         ``-ddebug-spec'' is equivalent to the command-line
  1258.             -d debug flag.
  1259.         ``$m'' will print the value of macro $m.
  1260.         ``$=c'' will print the contents of class $=c.
  1261.         ``/mx host'' returns the MX records for ``host''.
  1262.         ``/parse address'' will parse address, returning the value of
  1263.             crackaddr (essentially, the comment information)
  1264.             and the parsed address (the same as -bv).
  1265.         ``/try mailer address'' will rewrite address into the form
  1266.             it will have when presented to the indicated mailer.
  1267.         ``/tryflags flags'' will set flags used by parsing.  The
  1268.             flags can be `H' for header or `E' for envelope,
  1269.             and `S' for sender or `R' for recipient.  These
  1270.             can be combined, so `HR' sets flags for header
  1271.             recipients.
  1272.         ``/canon hostname'' will try to canonify hostname and
  1273.             return the result.
  1274.         ``/map mapname key'' will look up `key' in the indicated
  1275.             `mapname' and return the result.
  1276.     Somewhat better handling of UNIX-domain socket addresses -- it
  1277.         should show the pathname rather than hex bytes.
  1278.     Restore ``-ba'' mode -- this reads a file from stdin and parses
  1279.         the header for envelope sender information and uses
  1280.         CR-LF as message terminators.  It was thought to be
  1281.         obsolete (used only for Arpanet NCP protocols), but it
  1282.         turns out that the UK ``Grey Book'' protocols require
  1283.         that functionality.
  1284.     Fix a fix in previous release -- if gethostname and gethostbyname
  1285.         return a name without dots, and if an attempt to canonify
  1286.         that name fails, wait one minute and try again.  This can
  1287.         result in an extra 60 second delay on startup if your system
  1288.         hostname (as returned by hostname(1)) has no dot and no names
  1289.         listed in /etc/hosts or your NIS map have a dot.
  1290.     Check for proper domain name on HELO and EHLO commands per
  1291.         RFC 1123 section 5.2.5.  Problem noted by Thomas Dwyer III
  1292.         of Michigan Technological University.
  1293.     Relax chownsafe rules slightly -- old version said that if you
  1294.         can't tell if _POSIX_CHOWN_RESTRICTED is set (that is,
  1295.         if fpathconf returned EINVAL or ENOSYS), assume that
  1296.         chown is not safe.  The new version falls back to whether
  1297.         you are on a BSD system or not.  This is important for
  1298.         SunOS, which apparently always returns one of those
  1299.         error codes.  This impacts whether you can mail to files
  1300.         or not.
  1301.     Syntax errors such as unbalanced parentheses in the configuration
  1302.         file could be omitted if you had "Oem" prior to the
  1303.         syntax error in the config file.  Change to always print
  1304.         the error message.  It was especially weird because it
  1305.         would cause a "warning" message to be sent to the Postmaster
  1306.         for every message sent (but with no transcript).  Problem
  1307.         noted by Gregory Paris of Motorola.
  1308.     Rewrite collect and putbody to handle full 8-bit data, including
  1309.         zero bytes.  These changes are internally extensive, but
  1310.         should have minimal impact on external function.
  1311.     Allow full words for option names -- if the option letter is
  1312.         (apparently) a space, then take the word following -- e.g.,
  1313.             O MatchGECOS=TRUE
  1314.         The full list of old and new names is as follows:
  1315.             7    SevenBitInput
  1316.             8    EightBitMode
  1317.             A    AliasFile
  1318.             a    AliasWait
  1319.             B    BlankSub
  1320.             b    MinFreeBlocks/MaxMessageSize
  1321.             C    CheckpointInterval
  1322.             c    HoldExpensive
  1323.             D    AutoRebuildAliases
  1324.             d    DeliveryMode
  1325.             E    ErrorHeader
  1326.             e    ErrorMode
  1327.             f    SaveFromLine
  1328.             F    TempFileMode
  1329.             G    MatchGECOS
  1330.             H    HelpFile
  1331.             h    MaxHopCount
  1332.             i    IgnoreDots
  1333.             I    ResolverOptions
  1334.             J    ForwardPath
  1335.             j    SendMimeErrors
  1336.             k    ConnectionCacheSize
  1337.             K    ConnectionCacheTimeout
  1338.             L    LogLevel
  1339.             l    UseErrorsTo
  1340.             m    MeToo
  1341.             n    CheckAliases
  1342.             O    DaemonPortOptions
  1343.             o    OldStyleHeaders
  1344.             P    PostmasterCopy
  1345.             p    PrivacyOptions
  1346.             Q    QueueDirectory
  1347.             q    QueueFactor
  1348.             R    DontPruneRoutes
  1349.             r, T    Timeout
  1350.             S    StatusFile
  1351.             s    SuperSafe
  1352.             t    TimeZoneSpec
  1353.             u    DefaultUser
  1354.             U    UserDatabaseSpec
  1355.             V    FallbackMXhost
  1356.             v    Verbose
  1357.             w    TryNullMXList
  1358.             x    QueueLA
  1359.             X    RefuseLA
  1360.             Y    ForkEachJob
  1361.             y    RecipientFactor
  1362.             z    ClassFactor
  1363.             Z    RetryFactor
  1364.         The old macros that passed information into sendmail have
  1365.         been changed to options; those correspondences are:
  1366.             $e    SmtpGreetingMessage
  1367.             $l    UnixFromLine
  1368.             $o    OperatorChars
  1369.             $q    (deleted -- not necessary)
  1370.         To avoid possible problems with an older sendmail,
  1371.         configuration level 6 is accepted by this version of
  1372.         sendmail; any config file using the new names should
  1373.         specify "V6" in the configuration.
  1374.     Change address parsing to properly note that a phrase before a
  1375.         colon and a trailing semicolon are essentially the same
  1376.         as text outside of angle brackets (i.e., sendmail should
  1377.         treat them as comments).  This is to handle the
  1378.         ``group name: addr1, addr2, ..., addrN;'' syntax (it will
  1379.         assume that ``group name:'' is a comment on the first
  1380.         address and the ``;'' is a comment on the last address).
  1381.         This requires config file support to get right.  It does
  1382.         understand that :: is NOT this syntax, and can be turned
  1383.         off completely by setting the ColonOkInAddresses option.
  1384.     Level 6 config files added with new mailer flags:
  1385.             A    Addresses are aliasable.
  1386.             i    Do udb rewriting on envelope as well as header
  1387.             sender lines.  Applies to the from address mailer
  1388.             flags rather than the recipient mailer flags.
  1389.             j    Do udb rewriting on header recipient addresses.
  1390.             Applies to the sender mailer flags rather than the
  1391.             recipient mailer flags.
  1392.             k    Disable check for loops when doing HELO command.
  1393.             o    Always run as the mail recipient, even on local
  1394.             delivery.
  1395.             w    Check for an /etc/passwd entry for this user.
  1396.             5    Pass addresses through ruleset 5.
  1397.             :    Check for :include: on this address.
  1398.             |    Check for |program on this address.
  1399.             /    Check for /file on this address.
  1400.             @    Look up sender header addresses in the user
  1401.             database.  Applies to the mailer flags for the
  1402.             mailer corresponding to the envelope sender
  1403.             address, rather than to recipient mailer flags.
  1404.         Pre-level 6 configuration files set A, w, 5, :, |, /, and @
  1405.         on the "local" mailer, the o flag on the "prog" and "*file*"
  1406.         mailers, and the ColonOkInAddresses option.
  1407.     Eight-to-seven bit MIME conversions.  This borrows ideas from
  1408.         John Beck of Hewlett-Packard, who generously contributed
  1409.         their implementation to me, which I then didn't use (see
  1410.         mime.c for an explanation of why).  This adds the
  1411.         EightBitMode option (a.k.a. `8') and an F=8 mailer flag
  1412.         to control handling of 8-bit data.  These have to cope with
  1413.         two types of 8-bit data: unlabelled 8-bit data (that is,
  1414.         8-bit data that is entered without declaring it as 8-bit
  1415.         MIME -- technically this is illegal according to the
  1416.         specs) and labelled 8-bit data (that is, it was declared
  1417.         as 8BITMIME in the ESMTP session or by using the
  1418.         -B8BITMIME command line flag).  If the F=8 mailer flag is
  1419.         set then 8-bit data is sent to non-8BITMIME machines
  1420.         instead of converting to 7 bit (essentially using
  1421.         just-send-8 semantics).  The values for EightBitMode are:
  1422.             m    convert unlabelled 8-bit input to 8BITMIME, and do
  1423.             any necessary conversion of 8BITMIME to 7BIT
  1424.             (essentially, the full MIME option).
  1425.             p    pass unlabelled 8-bit input, but convert labelled
  1426.             8BITMIME input to 7BIT as required (default).
  1427.             s    strict adherence: reject unlabelled 8-bit input,
  1428.             convert 8BITMIME to 7BIT as required.  The F=8
  1429.             flag is ignored.
  1430.         Unlabelled 8-bit data is rejected in mode `s' regardless of
  1431.             the setting of F=8.
  1432.     Add new internal class 'n', which is the set of MIME Content-Types
  1433.         which can not be 8 to 7 bit encoded because of other
  1434.         considerations.  Types "multipart/*" and "message/*" are
  1435.         never directly encoded (although their components can be).
  1436.     Add new internal class 's', which is the set of subtypes of the
  1437.         MIME message/* content type that can be treated as though
  1438.         they are an RFC822 message.  It is predefined to have
  1439.         "rfc822".  Suggested By Kari Hurtta.
  1440.     Add new internal class 'e'.  This is the set of MIME
  1441.         Content-Transfer-Encodings that can be converted to
  1442.         a seven bit format (Quoted-Printable or Base64).  It is
  1443.         preinitialized to contain "7bit", "8bit", and "binary".
  1444.     Add C=charset mailer parameter and the the DefaultCharSet option (no
  1445.         short name) to set the default character set to use in the
  1446.         Content-Type: header when doing encoding of an 8-bit message
  1447.         which isn't marked as MIME into MIME format.  If the C=
  1448.         parameter is set on the Envelope From address, use that as
  1449.         the default encoding; else use the DefaultCharSet option.
  1450.         If neither is set, it defaults to "unknown-8bit" as
  1451.         suggested by RFC 1428 section 3.
  1452.     Allow ``U=user:group'' field in mailer definition to set a default
  1453.         user and group that a mailer will be executed as.  This
  1454.         overrides the 'u' and 'g' options, and if the `F=S' flag is
  1455.         also set, it is the uid/gid that will always be used (that
  1456.         is, the controlling address is ignored).  The values may be
  1457.         numeric or symbolic; if only a symbolic user is given (no
  1458.         group) that user's default group in the passwd file is used
  1459.         as the group.  Based on code donated by Chip Rosenthal of
  1460.         Unicom.
  1461.     Allow `u' option to also accept user:group as a value, in the same
  1462.         fashion as the U= mailer option.
  1463.     Add the symbolic time zone name in the Arpanet format dates (as
  1464.         a comment).  This adds a new compile-time configuration
  1465.         flag: TZ_TYPE can be set to TZ_TM_NAME (use the value
  1466.         of (struct tm *)->tm_name), TZ_TM_ZONE (use the value
  1467.         of (struct tm *)->tm_zone), TZ_TZNAME (use extern char
  1468.         *tzname[(struct tm *)->tm_isdst]), TZ_TIMEZONE (use
  1469.         timezone()), or TZ_NONE (don't include the comment).  Code
  1470.         from Chip Rosenthal.
  1471.     The "Timeout" option (formerly "r") is extended to allow suboptions.
  1472.         For example,
  1473.             O Timeout.helo = 2m
  1474.         There are also two new suboptions "queuereturn" and
  1475.         "queuewarn"; these subsume the old T option.  Thus, to
  1476.         set them both the preferred new syntax is
  1477.             O Timeout.queuereturn = 5d
  1478.             O Timeout.queuewarn = 4h
  1479.     Sort queue by host name instead of by message priority if the
  1480.         QueueSortOrder option (no short name) is set is set to
  1481.         ``host''.  This makes better use of the connection cache,
  1482.         but may delay more ``interactive'' messages behind large
  1483.         backlogs under some circumstances.  This is probably a
  1484.         good option if you have high speed links or don't do lots
  1485.         of ``batch'' messages, but less good if you are using
  1486.         something like PPP on a 14.4 modem.  Based on code
  1487.         contributed by Roy Mongiovi of Georgia Tech (my main
  1488.         contribution was to make it configurable).
  1489.     Save i-number of df file in qf file to simplify rebuilding of queue
  1490.         after disasterous disk crash.  Suggested by Kyle Jones of
  1491.         UUNET; closely based on code from KJS DECWRL code written
  1492.         by Paul Vixie.  NOTA BENE: The qf files produced by 8.7
  1493.         are NOT back compatible with 8.6 -- that is, you can convert
  1494.         from 8.6 to 8.7, but not the other direction.
  1495.     Add ``F=d'' mailer flag to disable all use of angle brackets in
  1496.         route-addrs in envelopes; this is because in some cases
  1497.         they can be sent to the shell, which interprets them as
  1498.         I/O redirection.
  1499.     Don't include error file (option E) with return-receipts; this
  1500.         can be confusing.
  1501.     Don't send "Warning: cannot send" messages to owner-* or
  1502.         *-request addresses.  Suggested by Christophe Wolfhugel
  1503.         of the Institut Pasteur, Paris.
  1504.     Allow -O command line flag to set long form options.
  1505.     Add "MinQueueAge" option to set the minimum time between attempts
  1506.         to run the queue.  For example, if the queue interval
  1507.         (-q value) is five minutes, but the minimum queue age
  1508.         is fifteen minutes, jobs won't be tried more often than
  1509.         once every fifteen minutes.  This can be used to give
  1510.         you more responsiveness if your delivery mode is set to
  1511.         queue-only.
  1512.     Allow "fileopen" timeout (default: 60 seconds) for opening
  1513.         :include: and .forward files.
  1514.     Add "-k", "-v", and "-z" flags to map definitions; these set the
  1515.         key field name, the value field name, and the field
  1516.         delimiter.  The field delimiter can be a single character
  1517.         or the sequence "\t" or "\n" for tab or newline.
  1518.         These are for use by NIS+ and similar access methods.
  1519.     Change maps to always strip quotes before lookups; the -q flag
  1520.         turns off this behaviour.  Suggested by Motonori Nakamura.
  1521.     Add "nisplus" map class.  Takes -k and -v flags to choose the
  1522.         key and value field names respectively.  Code donated by
  1523.         Sun Microsystems.
  1524.     Add "hesiod" map class.  The "file name" is used as the
  1525.         "HesiodNameType" parameter to hes_resolve(3).  Returns the
  1526.         first value found for the match.  Code donated by Scott
  1527.         Hutton of Indiana University.
  1528.     Add "netinfo" (NeXT NetInfo) map class.  Maps can have a -k flag to
  1529.         specify the name of the property that is searched as the
  1530.         key and a -v flag to specify the name of the property that
  1531.         is returned as the value (defaults to "members").  The
  1532.         default map is "/aliases".  Some code based on code
  1533.         contributed by Robert La Ferla of Hot Software.
  1534.     Add "text" map class.  This does slow, linear searches through
  1535.         text files.  The -z flag specifies a column delimiter
  1536.         (defaults to any sequence of white space), the -k flag
  1537.         sets the key column number, and the -v flag sets the
  1538.         value column number.  Lines beginning with `#' are treated
  1539.         as comments.
  1540.     Add "program" map class to execute arbitrary programs.  The search
  1541.         key is presented as the last argument; the output is one
  1542.         line read from the programs standard output.  Exit statuses
  1543.         are from sysexits.h.
  1544.     Add "sequence" map class -- searches maps in sequence until it
  1545.         finds a match.  For example, the declarations:
  1546.             Kmap1 ...
  1547.             Kmap2 ...
  1548.             Kmapseq sequence map1 map2
  1549.         defines a map "mapseq" that first searches map1; if the
  1550.         value is found it is returned immediately, otherwise
  1551.         map2 is searched and the value returned.
  1552.     Add "switch" map class.  This is much like "sequence" except that
  1553.         the ordering is fetched from an external file, usually
  1554.         the system service switch.  The parameter is the name of
  1555.         the service to switch on, and the maps that it will use
  1556.         are the name of the switch map followed by ".service_type".
  1557.         For example, if the declaration of the map is
  1558.             Ksample switch hosts
  1559.         and the system service switch specifies that hosts are
  1560.         looked up using dns and nis in that order, then this is
  1561.         equivalent to
  1562.             Ksample sequence sample.dns sample.nis
  1563.         The subordinate maps (sample.*) must already be defined.
  1564.     Add "user" map class -- looks up users using getpwnam.  Takes a
  1565.         "-v field" flag on the definition that tells what passwd
  1566.         entry to return -- legal values are name, passwd, uid, gid,
  1567.         gecos, dir, and shell.  Generally expected to be used with
  1568.         the -m (matchonly) flag.
  1569.     Add "bestmx" map class -- returns the best MX value for the host
  1570.         listed as the value.  If there are several "best" MX records
  1571.         for this host, one will be chosen at random.
  1572.     Add "userdb" map class -- looks up entries in the user database.
  1573.         The "file name" is actually the tag that will be used,
  1574.         typically "mailname".  If there are multiple entries
  1575.         matching the name, the one chosen is undefined.
  1576.     Add multiple queue timeouts (both return and warning).  These are
  1577.         set by the Precedence: or Priority: header fields to one of
  1578.         three values.  If a Priority: is set and has value "normal",
  1579.         "urgent", or "non-urgent" the corresponding timeouts are 
  1580.         used.  If no priority is set, the Precedence: is consulted;
  1581.         if negative, non-urgent timeouts are used; if greater than
  1582.         zero, urgent timeouts are used.  Otherwise, normal timeouts
  1583.         are used.  The timeouts are set by setting the six timeouts
  1584.         queue{warn,return}.{urgent,normal,non-urgent}.
  1585.     Fix problem when a mail address is resolved to a $#error mailer
  1586.         with a temporary failure indication; it works in SMTP,
  1587.         but when delivering locally the mail is silently discarded.
  1588.         This patch, from Kyle Jones of UUNET, bounces it instead
  1589.         of queueing it (queueing is very hard).
  1590.     When using /etc/hosts or NIS-style lookups, don't assume that
  1591.         the first name in the list is the best one -- instead,
  1592.         search for the first one with a dot.  For example, if
  1593.         an /etc/hosts entry reads
  1594.             128.32.149.68    mammoth mammoth.CS.Berkeley.EDU
  1595.         this change will use the second name as the canonical
  1596.         machine name instead of the initial, unqualified name.
  1597.     Change dequote map to replace spaces in quoted text with a value
  1598.         indicated by the -s flag on the dequote map definition.
  1599.         For example, ``Mdequote dequote -s_'' will change
  1600.         "Foo Bar" into an unquoted Foo_Bar instead of leaving it
  1601.         quoted (because of the space character).  Suggested by Dan
  1602.         Oscarsson for use in X.400 addresses.
  1603.     Implement long macro names as ${name}; long class names can
  1604.         be similarly referenced as $={name} and $~{name}.
  1605.         Definitions are (e.g.) ``D{name}value''.  Names that have
  1606.         a leading lower case letter or punctuation characters are
  1607.         reserved for internal use by sendmail; i.e., config files
  1608.         should use names that begin with a capital letter.  Based
  1609.         on code contributed by Dan Oscarsson.
  1610.     Fix core dump if getgrgid returns a null group list (as opposed
  1611.         to an empty group list, that is, a pointer to a list
  1612.         with no members).  Fix from Andrew Chang of Sun Microsystems.
  1613.     Fix possible core dump if malloc fails -- if the malloc in xalloc
  1614.         failed, it called syserr which called newstr which called
  1615.         xalloc....  The newstr is now avoided for "panic" messages.
  1616.         Reported by Stuart Kemp of James Cook University.
  1617.     Improve connection cache timeouts; previously, they were not even
  1618.         checked if you were delivering to anything other than an
  1619.         IPC-connected host, so a series of (say) local mail
  1620.         deliveries could cause cached connections to be open
  1621.         much longer than the specified timeout.
  1622.     If an incoming message exceeds the maximum message size, stop
  1623.         writing the incoming bytes to the queue data file, since
  1624.         this can fill your mqueue partition -- this is a possible
  1625.         denial-of-service attack.
  1626.     Don't reject all numeric local user names unless HESIOD is
  1627.         defined.  It turns out that Posix allows all-numeric
  1628.         user names.  Fix from Tony Sanders of BSDI.
  1629.     Add service switch support.  If the local OS has a service
  1630.         switch (e.g., /etc/nsswitch.conf on Solaris or /etc/svc.conf
  1631.         on DEC systems) that will be used; otherwise, it falls back
  1632.         to using a local mechanism based on the ServiceSwitchFile
  1633.         option (default: /etc/service.switch).  For example, if the
  1634.         service switch lists "files" and "nis" for the aliases
  1635.         service, that will be the default lookup order.  the "files"
  1636.         ("local" on DEC) service type expands to any alias files
  1637.         you listed in the configuration file, even if they aren't
  1638.         actually file lookups.
  1639.     Option I (NameServerOptions) no longer sets the "UseNameServer"
  1640.         variable which tells whether or not DNS should be considered
  1641.         canonical.  This is now determined based on whether or not
  1642.         "dns" is in the service list for "hosts".
  1643.     Add preliminary support for the ESMTP "DSN" extension (Delivery
  1644.         Status Notifications).  DSN notifications override
  1645.         Return-Receipt-To: headers, which are bogus anyhow --
  1646.         support for them has been removed.
  1647.     Add T=mts-name-type/address-type/diagnostic-type keyletter to mailer
  1648.         definitions to define the types used in DSN returns for
  1649.         MTA names, addresses, and diagnostics respectively.
  1650.     Extend heuristic to force running in ESMTP mode to look for the
  1651.         five-character string "ESMTP" anywhere in the 220 greeting
  1652.         message (not just the second line).  This is to provide
  1653.         better compatibility with other ESMTP servers.
  1654.     Print sequence number of job when running the queue so you can
  1655.         easily see how much progress you have made.  Suggested
  1656.         by Peter Wemm of DIALix.
  1657.     Map newlines to spaces in logged message-ids; some versions of
  1658.         syslog truncate the rest of the line after newlines.
  1659.         Suggested by Fletcher Mattox of U. Texas.
  1660.     Move up forking for job runs so that if a message is split into
  1661.         multiple envelopes you don't get "fork storms" -- this
  1662.         also improves the connection cache utilization.
  1663.     Accept "<<>>", "<<<>>>", and so forth as equivalent to "<>" for
  1664.         the purposes of refusing to send error returns.  Suggested
  1665.         by Motonori Nakamura of Ritsumeikan University.
  1666.     Relax rules on when a file can be written when referenced from
  1667.         the aliases file: use the default uid/gid instead of the
  1668.         real uid/gid.  This allows you to create a file owned by
  1669.         and writable only by the default uid/gid that will work
  1670.         all the time (without having the setuid bit set).  Change
  1671.         suggested by Shau-Ping Lo and Andrew Cheng of Sun
  1672.         Microsystems.
  1673.     Add "DialDelay" option (no short name) to provide an "extra"
  1674.         delay for dial on demand systems.  If this is non-zero
  1675.         and a connect fails, sendmail will wait this long and
  1676.         then try again.  If it takes longer than the kernel
  1677.         timeout interval to establish the connection, this
  1678.         option can give the network software time to establish
  1679.         the link.  The default units are seconds.
  1680.     Move logging of sender information to be as early as possible;
  1681.         previously, it could be delayed a while for SMTP mail
  1682.         sent to aliases.  Suggested by Brad Knowles of the
  1683.         Defense Information Systems Agency.
  1684.     Call res_init() before setting RES_DEBUG; this is required by
  1685.         BIND 4.9.3, or so I'm told.  From Douglas Anderson of
  1686.         the National Computer Security Center.
  1687.     Add xdelay= field in logs -- this is a transaction delay, telling
  1688.         you how long it took to deliver to this address on the
  1689.         last try.  It is intended to be used for sorting mailing
  1690.         lists to favor "quick" addresses.  Provided for use by
  1691.         the mailprio scripts (see below).
  1692.     If a map cannot be opened, and that map is non-optional, and
  1693.         an address requires that map for resolution, queue the
  1694.         map instead of bouncing it.  This involves creating a
  1695.         pseudo-class of maps called "bogus-map" -- if a required
  1696.         map cannot be opened, the class is changed to bogus-map;
  1697.         all queries against bogus-map return "tempfail".  The
  1698.         bogus-map class is not directly accessible.  A sample
  1699.         implementation was donated by Jem Taylor of Glasgow
  1700.         University Computing Service.
  1701.     Fix a possible core dump when mailing to a program that talks
  1702.         SMTP on its standard input.  Fix from Keith Moore of
  1703.         the University of Kentucky.
  1704.     Make it possible to resolve filenames to $#local $: @ /filename;
  1705.         previously, the "@" would cause it to not be recognized
  1706.         as a file.  Problem noted by Brian Hill of U.C. Davis.
  1707.     Accept a -1 signal to re-exec the daemon.  This only works if
  1708.         argv[0] is a full path to sendmail.
  1709.     Fix bug in "addr=..." field in O option on little-endian machines
  1710.         -- the network number wasn't being converted to network
  1711.         byte order.  Patch from Kurt Lidl of Pix Technologies
  1712.         Corporation.
  1713.     Pre-initialize the resolver early on; this is to avoid a bug with
  1714.         BIND 4.9.3 that can cause the _res.retry field to get
  1715.         reset to zero, causing all name server lookups to time
  1716.         out.  Fix from Matt Day of Artisoft.
  1717.     Restore T line (trusted users) in config file -- but instead of
  1718.         locking out the -f flag, they just tell whether or not
  1719.         an X-Authentication-Warning: will be added.  This really
  1720.         just creates new entries in class 't', so "Ft/file/name"
  1721.         can be used to read trusted user names from a file.
  1722.         Trusted users are also allowed to execute programs even
  1723.         if they have a shell that isn't in /etc/shells.
  1724.     Improve NEWDB alias file rebuilding so it will create them
  1725.         properly if they do not already exist.  This had been
  1726.         a MAYBENEXTRELEASE feature in 8.6.9.
  1727.     Check for @:@ entry in NIS maps before starting up to avoid
  1728.         (but not prevent, sigh) race conditions.  This ought to
  1729.         be handled properly in ypserv, but isn't.  Suggested by
  1730.         Michael Beirne of Motorola.
  1731.     Refuse connections if there isn't enough space on the filesystem
  1732.         holding the queue.  Contributed by Robert Dana of Wolf
  1733.         Communications.
  1734.     Skip checking for directory permissions in the path to a file
  1735.         when checking for file permissions iff setreuid()
  1736.         succeeded -- it is unnecessary in that case.  This avoids
  1737.         significant performance problems when looking for .forward
  1738.         files.  Based on a suggestion by Win Bent of USC.
  1739.     Allow symbolic ruleset names.  Syntax can be "Sname" to get an
  1740.         arbitrary ruleset number assigned or "Sname = integer"
  1741.         to assign a specific ruleset number.  Reference is
  1742.         $>name_or_number.  Names can be composed of alphas, digits,
  1743.         underscore, or hyphen (first character must be non-numeric).
  1744.     Allow -o flag on AliasFile lines to make the alias file optional.
  1745.         From Bryan Costales of ICSI.
  1746.     Add NoRecipientAction option to handle the case where there is
  1747.         no legal recipient header in the message.  It can take
  1748.         on values:
  1749.           None            Leave the message as is.  The
  1750.                     message will be passed on even
  1751.                     though it is in technically
  1752.                     illegal syntax.
  1753.           Add-To        Add a To: header with any
  1754.                     recipients that it can find from
  1755.                     the envelope.  This risks exposing
  1756.                     Bcc: recipients.
  1757.           Add-Apparently-To    Add an Apparently-To: header.  This
  1758.                     has almost no redeeming social value,
  1759.                     and is provided only for back
  1760.                     compatibility.
  1761.           Add-To-Undisclosed    Add a header reading
  1762.                     To: undisclosed-recipients:;
  1763.                     which will have the effect of
  1764.                     making the message legal without
  1765.                     exposing Bcc: recipients.
  1766.           Add-Bcc        To add an empty Bcc: header.
  1767.                     There is a chance that mailers down
  1768.                     the line will delete this header,
  1769.                     which could cause exposure of Bcc:
  1770.                     recipients.
  1771.         The default is NoRecipientAction=None.
  1772.     Truncate (rather than delete) Bcc: lines in the header.  This
  1773.         should prevent later sendmails (at least, those that don't
  1774.         themselves delete Bcc:) from considering this message to
  1775.         be non-conforming -- although it does imply that non-blind
  1776.         recipients can see that a Bcc: was sent, albeit not to whom.
  1777.     Add SafeFileEnvironment option.  If declared, files named as delivery
  1778.         targets must be regular files in addition to the regular
  1779.         checks.  Also, if the option is non-null then it is used as
  1780.         the name of a directory that is used as a chroot(2)
  1781.         environment for the delivery; the file names listed in an
  1782.         alias or forward should include the name of this root.
  1783.         For example, if you run with
  1784.             O SafeFileEnvironment=/arch
  1785.         then aliases should reference "/arch/rest/of/path".  If a
  1786.         value is given, sendmail also won't try to save to
  1787.         /usr/tmp/dead.letter (instead it just leaves the job in the
  1788.         queue as Qfxxxxxx).  Inspired by *Hobbit*'s sendmail patch kit.
  1789.     Support -A flag for alias files; this will comma concatenate like
  1790.         entries.  For example, given the aliases:
  1791.             list: member1
  1792.             list: member2
  1793.         and an alias file declared as:
  1794.             OAhash:-A /etc/aliases
  1795.         the final alias inserted will be "list: member1,member2";
  1796.         without -A you will get an error on the second and subsequent
  1797.         alias for "list".  Contributed by Bryan Costales of ICSI.
  1798.     Line-buffer transcript file.  Suggested by Liudvikas Bukys.
  1799.     Fix a problem that could cause very long addresses to core dump in
  1800.         some special circumstances.  Problem pointed out by Allan
  1801.         Johannesen.
  1802.     (Internal change.)  Change interface to expand() (macro expansion)
  1803.         to be simpler and more consistent.
  1804.     Delete check for funny qf file names.  This didn't really give
  1805.         any extra security and caused some people some problems.
  1806.         (If you -really- want this, define PICKY_QF_NAME_CHECK
  1807.         at compile time.)  Suggested by Kyle Jones of UUNET.
  1808.     (Internal change.)  Change EF_NORETURN to EF_NO_BODY_RETN and
  1809.         merge with DSN code; this is simpler and more consistent.
  1810.         This may affect some people who have written their own
  1811.         checkcompat() routine.
  1812.     (Internal change.)  Eliminate `D' line in qf file.  The df file
  1813.         is now assumed to be the same name as the qf file (with
  1814.         the `q' changed to a `d', of course).
  1815.     Avoid forking for delivery if all recipient mailers are marked as
  1816.         "expensive" -- this can be a major cost on some systems.
  1817.         Essentially, this forces sendmail into "queue only" mode
  1818.         if all it is going to do is queue anyway.
  1819.     Avoid sending a null message in some rather unusual circumstances
  1820.         (specifically, the RCPT command returns a temporary
  1821.         failure but the connection is lost before the DATA
  1822.         command).  Fix from Scott Hammond of Secure Computing
  1823.         Corporation.
  1824.     Change makesendmail to use a somewhat more rational naming scheme:
  1825.         Makefiles and obj directories are named $os.$rel.$arch,
  1826.         where $os is the operating system (e.g., SunOS), $rel is
  1827.         the release number (e.g., 5.3), and $arch is the machine
  1828.         architecture (e.g., sun4).  Any of these can be omitted,
  1829.         and anything after the first dot in a release number can
  1830.         be replaced with "x" (e.g., SunOS.4.x.sun4).  The previous
  1831.         version used $os.$arch.$rel and was rather less general.
  1832.     Change makesendmail to do a "make depend" in the target directory
  1833.         when it is being created.  This involves adding an empty
  1834.         "depend:" entry in most Makefiles.
  1835.     Ignore IDENT return value if the OSTYPE field returns "OTHER",
  1836.         as indicated by RFC 1413.  Pointed out by Kari Hurtta
  1837.         of the Finnish Meteorological Institute.
  1838.     Fix problem that could cause multiple responses to DATA command
  1839.         on header syntax errors (e.g., lines beginning with colons).
  1840.         Problem noted by Jens Thomassen of the University of Oslo.
  1841.     Don't let null bytes in headers cause truncation of the rest of
  1842.         the header.
  1843.     Log Authentication-Warning:s.  Suggested by Motonori Nakamura.
  1844.     Increase timeouts on message data puts to allow time for receivers
  1845.         to canonify addresses in headers on the fly.  This is still
  1846.         a rather ugly heuristic.  From Motonori Nakamura.
  1847.     Add "HasWildcardMX" suboption to ResolverOptions; if set, MX
  1848.         records are not used when canonifying names, and when MX
  1849.         lookups are done for addressing they must be fully
  1850.         qualified.  This is useful if you have a wildcard MX record,
  1851.         although it may cause other problems.  In general, don't use
  1852.         wildcard MX records.  Patch from Motonori Nakamura.
  1853.     Eliminate default two-line SMTP greeting message.  Instead of
  1854.         adding an extra "ESMTP spoken here" line, the word "ESMTP"
  1855.         is added between the first and second word of the first
  1856.         line of the greeting message (i.e., immediately after the
  1857.         host name).  This eliminates the need for the BROKEN_SMTP_PEERS
  1858.         compile flag.  Old sendmails won't see the ESMTP, but that's
  1859.         acceptable because SIZE was the only useful extension that
  1860.         old sendmails understand.
  1861.     Avoid gethostbyname calls on UNIX domain sockets during SIGUSR1
  1862.         invoked state dumps.  From Masaharu Onishi.
  1863.     Allow on-line comments in .forward and :include: files; they are
  1864.         introduced by the string "<LWSP>#@#<LWSP>", where <LWSP>
  1865.         is a space or a tab.  This is intended for native
  1866.         representation of non-ASCII sets such as Japanese, where
  1867.         existing encodings would be unreadable or would lose
  1868.         data -- for example,
  1869.          <motonori@cs.ritsumei.ac.jp> NAKAMURA Motonori
  1870.                     (romanized/less information)
  1871.          <motonori@cs.ritsumei.ac.jp> =?ISO-2022-JP?B?GyRCQ2ZCPBsoQg==?=
  1872.                           =?ISO-2022-JP?B?GyRCQUdFNRsoQg==?=
  1873.                     (with MIME encoding, not human readable)
  1874.          <motonori@cs.ritsumei.ac.jp> #@# ^[$BCfB<^[(B ^[$BAGE5^[(B
  1875.                     (native encoding with ISO-2022-JP)
  1876.         The last form is human readable in the Japanese environment.
  1877.         Based on a fix from (surprise!) Motonori Nakamura.
  1878.     Don't make SMTP error returns on MAIL FROM: line be "sticky" for all
  1879.         messages to that host; these are most frequently associated
  1880.         with addresses rather than the host, with the exception of
  1881.         421 (service shutting down).  The effect was to cause queues
  1882.         to sometimes take an excessive time to flush.  Reported by
  1883.         Robert Sargent of Southern Geographics Technologies and
  1884.         Eric Prestemon of American University.
  1885.     Add Nice=N mailer option to set the niceness at which a mailer will
  1886.         run.  This is actually a relative niceness (that is, an
  1887.         increment on the background value).
  1888.     Log queue runs that are skipped due to high loads.  They are logged
  1889.         at LOG_INFO priority iff the log level is > 8.  Contributed
  1890.         by Bruce Nagel of Data General.
  1891.     Allow the error mailer to accept a DSN-style error status code
  1892.         instead of an sysexits status code in the host part.
  1893.         Anything with a dot will be interpreted as a DSN-style code.
  1894.     Add new mailer flag: F=3 will tell translations to Quoted-Printable
  1895.         to encode characters that might be munged by an EBCDIC system
  1896.         in addition to the set required by RFC 1521.  The additional
  1897.         characters are !, ", #, $, @, [, \, ], ^, `, {, |, }, and ~.
  1898.         (Think of "IBM 360" as the mnemonic for this flag.)
  1899.     Change check for mailing to files to look for a pathname of [FILE]
  1900.         rather than looking for the mailer named *file*.  The mapping
  1901.         of leading slashes still goes to the *file* mailer.  This
  1902.         allows you to implement the *file* mailer as a separate
  1903.         program, for example, to insert a Content-Length: header
  1904.         or do special security policy.  However, note that the usual
  1905.         initial checking for the file permissions is still done, and
  1906.         the program in question needs to be very careful about how
  1907.         it does the file write to avoid security problems.
  1908.     Be able to read ~root/.forward even if the path isn't accessible to
  1909.         regular users.  This is disrecommended because sendmail
  1910.         sometimes does not run as root (e.g., when an unsafe option
  1911.         is specified on the command line), but should otherwise be
  1912.         safe because .forward files must be owned by the user for
  1913.         whom mail is being forwarded, and cannot be a symbolic link.
  1914.         Suggested by Forrest Aldrich of Wang Laboratories.
  1915.     Add new "HostsFile" option that is the pathname to the /etc/hosts
  1916.         file.  This is used for canonifying hostnames when the
  1917.         service type is "files".
  1918.     Implement programs on F (read class from file) line.  The syntax is
  1919.         Fc|/path/to/program to read the output from the program
  1920.         into class "c".
  1921.     Probe the network interfaces to find alternate names for this
  1922.         host.  Requires the SIOCGIFCONF ioctl call.  Code
  1923.         contributed by SunSoft.
  1924.     Add "E" configuration line to set or propogate environment
  1925.         variables into children.  "E<envar>" will propogate
  1926.         the named variable from the environment when sendmail
  1927.         was invoked into any children it calls; "E<envar>=<value>"
  1928.         sets the named variable to the indicated value.  Any
  1929.         variables not explicitly named will not be in the child
  1930.         environment.  However, sendmail still forces an
  1931.         "AGENT=sendmail" environment variable, in part to enforce
  1932.         at least one environment variable, since many programs and
  1933.         libraries die horribly if this is not guaranteed.
  1934.     Change heuristic for rebuilding both NEWDB and NDBM versions of
  1935.         alias databases -- new algorithm looks for the substring
  1936.         "/yp/" in the file name.  This is more portable and involves
  1937.         less overhead.  Suggested by Motonori Nakamura.
  1938.     Dynamically allocate the queue work list so that you don't lose
  1939.         jobs in large queue runs.  The old QUEUESIZE compile parameter
  1940.         is replaced by QUEUESEGSIZE (the unit of allocation, which
  1941.         should not need to be changed) and the MaxQueueRunSize option,
  1942.         which is the absolute maximum number of jobs that will ever
  1943.         be handled in a single queue run.  Based on code contributed
  1944.         by Brian Coan of the Institute for Global Communications.
  1945.     Log message when a message is dropped because it exceeds the maximum
  1946.         message size.  Suggested by Leo Bicknell of Virginia Tech.
  1947.     Allow trusted users (those on a T line or in $=t) to use -bs without
  1948.         an X-Authentication-Warning: added.  Suggested by Mark Thomas
  1949.         of Mark G. Thomas Consulting.
  1950.     Announce state of compile flags on -d0.1 (-d0.10 throws in the
  1951.         OS-dependent defines).  The old semantic of -d0.1 to not
  1952.         run the daemon in background has been moved to -d99.100,
  1953.         and the old 52.5 flag (to avoid disconnect() from closing
  1954.         all output files) has been moved to 52.100.  This makes
  1955.         things more consistent (flags below .100 don't change
  1956.         semantics) and separates out the backgrounding so that
  1957.         it doesn't happen automatically on other unrelated debugging
  1958.         flags.
  1959.     If -t is used but no addresses are found in the header, give an
  1960.         error message rather than just doing nothing.  Fix from
  1961.         Motonori Nakamura.
  1962.     On systems (like SunOS) where the effective gid is not necessarily
  1963.         included in the group list returned by getgroups(), the
  1964.         `restrictmailq' option could sometimes cause an authorized
  1965.         user to not be able to use `mailq'.  Fix from Charles Hannum
  1966.         of MIT.
  1967.     Allow symbolic service names for [IPC] mailers.  Suggested by
  1968.         Gerry Magennis of Logica International.
  1969.     Add DontExpandCnames option to prevent $[ ... $] from expanding CNAMEs
  1970.         when running DNS.  For example, if the name FTP.Foo.ORG is
  1971.         a CNAME for Cruft.Foo.ORG, then when sitting on a machine in
  1972.         the Foo.ORG domain a lookup of "FTP" returns "Cruft.Foo.ORG"
  1973.         if this option is not set, or "FTP.Foo.ORG" if it is set.
  1974.         This is technically illegal under RFC 822 and 1123, but the
  1975.         IETF is moving toward legalizing it.  Note that turning on
  1976.         this option is not sufficient to guarantee that a downstream
  1977.         neighbor won't rewrite the address for you.
  1978.     Add "-m" flag to makesendmail script -- this tells you what object
  1979.         directory and Makefile it will use, but doesn't actually do
  1980.         the make.
  1981.     Do some additional checking on the contents of the qf file to try
  1982.         to detect attacks against the qf file.  In particular,
  1983.         abort on any line beginning "From ", and add an "end of
  1984.         file" line -- any data after that line is prohibited.
  1985.     Always use /etc/sendmail.cf, regardless of the arbitrary vendor
  1986.         choices.  This can be overridden in the Makefile by using
  1987.         either -DUSE_VENDOR_CF_PATH to get the vendor location
  1988.         (to the extent that we know it) or by defining
  1989.         _PATH_SENDMAILCF (which is a "hard override").  This allows
  1990.         sendmail 8 to have more consistent installation instructions.
  1991.     Allow macros on `K' line in config file.  Suggested by Andrew Chang
  1992.         of Sun Microsystems.
  1993.     Improved symbol table hash function from Eric Wassenaar.  This one
  1994.         is at least 50% faster.
  1995.     Fix problem that didn't notice that timeout on file open was a
  1996.         transient error.  Fix from Larry Parmelee of Cornell
  1997.         University.
  1998.     Allow comments (lines beginning with a `#') in files read for
  1999.         classes.  Suggested by Motonori Nakamura.
  2000.     Make SIGINT (usually ^C) in test mode return to the prompt instead
  2001.         of dropping out entirely.  This makes testing some of the
  2002.         name server lookups easier to deal with when there are
  2003.         hung servers.  From Motonori Nakamura.
  2004.     Add new ${opMode} macro that is set to the current operation mode
  2005.         (e.g., `s' for -bs, `t' for -bt, etc.).  Suggested by
  2006.         Claude Marinier <MARINIER@emp.ewd.dreo.dnd.ca>.
  2007.     Add new delivery mode (Odd) that defers all map lookups to queue runs.
  2008.         Kind of like queue-only mode (Odq) except it tries to avoid
  2009.         any external service requests; for dial-on-demand hosts that
  2010.         want to minimize DNS lookups when mail is being queued.  For
  2011.         this to work you will also have to make sure that gethostbyname
  2012.         of your local host name does not do a DNS lookup.
  2013.     Improved handling of "out of space" conditions from John Myers of
  2014.         Carnegie Mellon.
  2015.     Improved security for mailing to files on systems that have fchmod(2)
  2016.         support.
  2017.     Improve "cannot send message for N days" message -- now says "could
  2018.         not send for past N days".  Suggested by Tom Moore of AT&T
  2019.         Global Information Solutions.
  2020.     Less misleading Subject: line on messages sent to postmaster only.
  2021.         From Motonori Nakamura.
  2022.     Avoid duplicate error messages on bad command line flags.  From
  2023.         Motonori Nakamura.
  2024.     Better error message for case where ruleset 0 falls off the end
  2025.         or otherwise does not resolve to a canonical triple.
  2026.     Fix a problem that could cause multiple bounce messages if a bad
  2027.         address was sent along with a good address to an SMTP
  2028.         site where that SMTP site returned a 4yz code in response
  2029.         to the final dot of the data.  Problem reported by David
  2030.         James of British Telecom.
  2031.     Add "volatile" declarations so that gcc -O2 will work.  Patches
  2032.         from Alexander Dupuy of System Management ARTS.
  2033.     Delete duplicates in MX lists -- believe it or not, there are sites
  2034.         that list the same host twice in an MX list.  This deletion
  2035.         only works on adjacent preferences, so an MX list that
  2036.         had A=5, B=10, A=15 would leave both As, but one that had
  2037.         A=5, A=10, B=15 would reduce to A, B.  This is intentional,
  2038.         just in case there is something weird I haven't thought of.
  2039.         Suggested by Barry Shein of Software Tool & Die.
  2040.     SECURITY: .forward files cannot be symbolic links.  If they are,
  2041.         a bad guy can read your private files.
  2042.     PORTABILITY FIXES:
  2043.         Solaris 2 from Rob McMahon <cudcv@csv.warwick.ac.uk>.
  2044.         System V Release 4 from Motonori Nakamura of Ritsumeikan
  2045.             University.  This expands the disk size
  2046.             checking to include all (?) SVR4 configurations.
  2047.         System V Release 4 from Kimmo Suominen -- initgroups(3)
  2048.             and setrlimit(2) are both available.
  2049.         System V Release 4 from sob@sculley.ffg.com -- some versions
  2050.             apparently "have EX_OK defined in other headerfiles."
  2051.         Linux Makefile typo.
  2052.         Linux getusershell(3) is broken in Slackware 2.0 --
  2053.             from Andrew Pam of Xanadu Australia.
  2054.         More Linux tweaking from John Kennedy of California State
  2055.             University, Chico.
  2056.         Cray changes from Eric Wassenaar:  ``On Cray, shorts,
  2057.             ints, and longs are all 64 bits, and all structs
  2058.             are multiples of 64 bits.  This means that the
  2059.             sizeof operator returns only multiples of 8.
  2060.             This requires adaptation of code that really
  2061.             deals with 32 bit or 16 bit fields, such as IP
  2062.             addresses or nameserver fields.''
  2063.         DG/UX 5.4.3 from Mark T. Robinson <mtr@ornl.gov>.  To
  2064.             get the old behaviour, use -DDGUX_5_4_2.
  2065.         DG/UX hack: add _FORCE_MAIL_LOCAL_=yes environment
  2066.             variable to fix bogus /bin/mail behaviour.
  2067.         Tandem NonStop-UX from Rick McCarty <mccarty@mpd.tandem.com>.
  2068.             This also cleans up some System V Release 4 compile
  2069.             problems.
  2070.         Solaris 2: sendmail.cw file should be in /etc/mail to
  2071.             match all the other configuration files.  Fix
  2072.             from Glenn Barry of Emory University.
  2073.         Solaris 2.3: compile problem in conf.c.  Fix from Alain
  2074.             Nissen of the University of Liege, Belgium.
  2075.         Ultrix: freespace calculation was incorrect.  Fix from
  2076.             Takashi Kizu of Osaka University.
  2077.         SVR4: running in background gets a SIGTTOU because the
  2078.             emulation code doesn't realize that "getpeername"
  2079.             doesn't require reading the file.  Fix from Peter
  2080.             Wemm of DIALix.
  2081.         Solaris 2.3: due to an apparent bug in the socket emulation
  2082.             library, sockets can get into a "wedged" state where
  2083.             they just return EPROTO; closing and re-opening the
  2084.             socket clears the problem.  Fix from Bob Manson
  2085.             of Ohio State University.
  2086.         Hitachi 3050R & 3050RX running HI-UX/WE2: portability
  2087.             fixes from Akihiro Hashimoto ("Hash") of Chiba
  2088.             University.
  2089.         AIX changes to allow setproctitle to work from Rainer Sch÷pf
  2090.             of Zentrum fⁿr Datenverarbeitung der UniversitΣt
  2091.             Mainz.
  2092.         AIX changes for load average from Ed Ravin of NASA/Goddard.
  2093.         SCO Unix from Chip Rosenthal of Unicom (code was using the
  2094.             wrong statfs call).
  2095.         ANSI C fixes from Adam Glass (NetBSD project).
  2096.         Stardent Titan/ANSI C fixes from Kate Hedstrom of Rutgers
  2097.             University.
  2098.         DG-UX fixes from Bruce Nagel of Data General.
  2099.         IRIX64 updates from Mark Levinson of the University of
  2100.             Rochester Medical Center.
  2101.         Altos System V (``the first UNIX/XENIX merge the Altos
  2102.             did for their Series 1000 & Series 2000 line;
  2103.             their merged code was licenced back to AT&T and
  2104.             Microsoft and became System V release 3.2'') from
  2105.             Tim Rice <timr@crl.com>.
  2106.         OSF/1 running on Intel Paragon from Jeff A. Earickson
  2107.             <jeff@ssd.intel.com> of Intel Scalable Systems
  2108.             Divison.
  2109.         Amdahl UTS System V 2.1.5 (SVr3-based) from Janet Jackson
  2110.             <janet@dialix.oz.au>.
  2111.         System V Release 4 (statvfs semantic fix) from Alain
  2112.             Durand of I.M.A.G.
  2113.         HP-UX 10.x multiprocessor load average changes from
  2114.             Scott Hutton and Jeff Sumler of Indiana University.
  2115.         Cray CSOS from Scott Bolte of Cray Computer Corporation.
  2116.         Unicos 8.0 from Douglas K. Rand of the University of North
  2117.             Dakota, Scientific Computing Center.
  2118.         Solaris 2.4 fixes from Sanjay Dani of Dani Communications.
  2119.         ConvexOS 11.0 from Christophe Wolfhugel.
  2120.         IRIX 4.0.5 from David Ashton-Reader of CADcentre.
  2121.         ISC UNIX from J. J. Bailey.
  2122.         HP-UX 9.xx on the 8xx series machines from Remy Giraud
  2123.             of Meteo France.
  2124.         HP-UX configuration from Tom Lane <tgl@sss.pgh.pa.us>.
  2125.         IRIX 5.2 and 5.3 from Kari E. Hurtta.
  2126.         FreeBSD 2.0 from Mike Hickey of Federal Data Corporation.
  2127.         Sony NEWS-OS 4.2.1R and 6.0.3 from Motonori Nakamura.
  2128.         Omron LUNA unios-b, mach from Motonori Nakamura.
  2129.         NEC EWS-UX/V 4.2 from Motonori Nakamura.
  2130.         NeXT 2.1 from Bryan Costales.
  2131.         AUX patch thanks to Mike Erwin of Apple Computer.
  2132.         HP-UX 10.0 from John Beck of Hewlett-Packard.
  2133.         Ultrix: allow -DBROKEN_RES_SEARCH=0 if you are using a
  2134.             non-DEC resolver.  Suggested by Allan Johannesen.
  2135.         UnixWare 2.0 fixes from Petr Lampa of the Technical
  2136.             University of Brno (Czech Republic).
  2137.         KSR OS 1.2.2 support from Todd Miller of the University
  2138.             of Colorado.
  2139.         UX4800 support from Kazuhisa Shimizu of NEC.
  2140.     MAKEMAP: allow -d flag to allow insertion of duplicate aliases
  2141.         in type ``btree'' maps.  The semantics of this are undefined
  2142.         for regular maps, but it can be useful for the user database.
  2143.     MAKEMAP: lock database file while rebuilding to avoid sendmail
  2144.         lookups while the rebuild is going on.  There is a race
  2145.         condition between the open(... O_TRUNC ...) and the lock
  2146.         on the file, but it should be quite small.
  2147.     SMRSH: sendmail restricted shell added to the release.  This can
  2148.         be used as an alternative to /bin/sh for the "prog" mailer,
  2149.         giving the local administrator more control over what
  2150.         programs can be run from sendmail.
  2151.     MAIL.LOCAL: add this local mailer to the tape.  It is not really
  2152.         part of the release proper, and isn't fully supported; in
  2153.         particular, it does not run on System V based systems and
  2154.         never will.
  2155.     CONTRIB: a patch to rmail.c from Bill Gianopoulos of Raytheon
  2156.         to allow rmail to compile on systems that don't have
  2157.         function prototypes and systems that don't have snprintf.
  2158.     CONTRIB: add the "mailprio" scripts that will help you sort mailing
  2159.         lists by transaction delay times so that addresses that
  2160.         respond quickly get sent first.  This is to prevent very
  2161.         sluggish servers from delaying other peoples' mail.
  2162.         Contributed by Tony Sanders of BSDI.
  2163.     CONTRIB: add the "bsdi.mc" file as contributed by Tony Sanders
  2164.         of BSDI.  This has a lot of comments to help people out.
  2165.     CONFIG: Don't have .mc files include(../m4/cf.m4) -- instead,
  2166.         put this on the m4 command line.  On GNU m4 (which
  2167.         supports the __file__ primitive) you can run m4 in an
  2168.         arbitrary directory -- use either:
  2169.             m4 ${CFDIR}/m4/cf.m4 config.mc > config.cf
  2170.         or
  2171.             m4 -I${CFDIR} m4/cf.m4 config.mc > config.cf
  2172.         On other versions of m4 that don't support __file__, you
  2173.         can use:
  2174.             m4 -D_CF_DIR_=${CFDIR}/ ${CFDIR}/m4/cf.m4 ...
  2175.         (Note the trailing slash on the _CF_DIR_ definition.)
  2176.         Old versions of m4 will default to _CF_DIR_=.. for back
  2177.         compatibility.
  2178.     CONFIG: fix mail from <> so it will properly convert to
  2179.         MAILER-DAEMON on local addresses.
  2180.     CONFIG: fix code that was supposed to catch colons in host
  2181.         names.  Problem noted by John Gardiner Myers of CMU.
  2182.     CONFIG: allow use of SMTP_MAILER_MAX in nullclient configuration.
  2183.         From Paul Riddle of the University of Maryland, Baltimore
  2184.         County.
  2185.     CONFIG: Catch and reject "." as a host address.
  2186.     CONFIG: Generalize domaintable to look up all domains, not
  2187.         just unqualified ones.
  2188.     CONFIG: Delete OLD_SENDMAIL support -- as near as I can tell, it
  2189.         was never used and didn't work anyway.
  2190.     CONFIG: Set flags A, w, 5, :, /, |, and @ on the "local" mailer
  2191.         and d on all mailers in the UUCP class.
  2192.     CONFIG: Allow "user+detail" to be aliased specially: it will first
  2193.         look for an alias for "user+detail", then for "user+*", and
  2194.         finally for "user".  This is intended for forwarding mail
  2195.         for system aliases such as root and postmaster to a
  2196.         centralized hub.
  2197.     CONFIG: add confEIGHT_BIT_HANDLING to set option 8 (see above).
  2198.     CONFIG: add smtp8 mailer; this has the F=8 (just-send-8) flag set.
  2199.         The F=8 flag is also set on the "relay" mailer, since
  2200.         this is expected to be another sendmail.
  2201.     CONFIG: avoid qualifying all UUCP addresses sent via SMTP with
  2202.         the name of the UUCP_RELAY -- in some cases, this is the
  2203.         wrong value (e.g., when we have local UUCP connections),
  2204.         and this can create unreplyable addresses.  From Chip
  2205.         Rosenthal of Unicom.
  2206.     CONFIG: add confRECEIVED_HEADER to change the format of the
  2207.         Received: header inserted into all messages. Suggested by
  2208.         Gary Mills of the University of Manitoba.
  2209.     CONFIG: Make "notsticky" the default; use FEATURE(stickyhost)
  2210.         to get the old behaviour.  I did this upon observing
  2211.         that almost everyone needed this feature, and that the
  2212.         concept I was trying to make happen didn't work with
  2213.         some user agents anyway.  FEATURE(notsticky) still works,
  2214.         but it is a no-op.
  2215.     CONFIG: Add LUSER_RELAY -- the host to which unrecognized user
  2216.         names are sent, rather than immediately diagnosing them
  2217.         as User Unknown.
  2218.     CONFIG: Add SMTP_MAILER_ARGS, ESMTP_MAILER_ARGS, SMTP8_MAILER_ARGS,
  2219.         and RELAY_MAILER_ARGS to set the arguments for the
  2220.         indicated mailers.  All default to "IPC $h".  Patch from
  2221.         Larry Parmelee of Cornell University.
  2222.     CONFIG: pop mailer needs F=n flag to avoid "annoying side effects
  2223.         on the client side" and F=P to get an appropriate
  2224.         return-path.  From Kimmo Suominen.
  2225.     CONFIG: add FEATURE(local_procmail) to use the procmail program
  2226.         as the local mailer.  For addresses of the form "user+detail"
  2227.         the "detail" part is passed to procmail via the -a flag.
  2228.         Contributed by Kimmo Suominen.
  2229.     CONFIG: add MAILER(procmail) to add an interface to procmail for
  2230.         use from mailertables.  This lets you execute arbitrary
  2231.         procmail scripts.  Contributed by Kimmo Suominen.
  2232.     CONFIG: add T= fields (MTS type) to local, smtp, and uucp mailers.
  2233.     CONFIG: add OSTYPE(ptx2) for DYNIX/ptx 2.x from Sequent.  From
  2234.         Paul Southworth of CICNet Systems Support.
  2235.     CONFIG: use -a$g as default to UUCP mailers, instead of -a$f.
  2236.         This causes the null return path to be rewritten as
  2237.         MAILER-DAEMON; otherwise UUCP gets horribly confused.
  2238.         From Michael Hohmuth of Technische Universitat Dresden.
  2239.     CONFIG: Add FEATURE(bestmx_is_local) to cause any hosts that
  2240.         list us as the best possible MX record to be treated as
  2241.         though they were local (essentially, assume that they
  2242.         are included in $=w).  This can cause additional DNS
  2243.         traffic, but is easier to administer if this fits your
  2244.         local model.  It does not work reliably if there are
  2245.         multiple hosts that share the best MX preference.
  2246.         Code contributed by John Oleynick of Rutgers.
  2247.     CONFIG: Add FEATURE(smrsh) to use smrsh (the SendMail Restricted
  2248.         SHell) instead of /bin/sh as the program used for delivery
  2249.         to programs.  If an argument is included, it is used as
  2250.         the path to smrsh; otherwise, /usr/local/etc/smrsh is
  2251.         assumed.
  2252.     CONFIG: Add LOCAL_MAILER_MAX and PROCMAILER_MAILER_MAX to limit the
  2253.         size of messages to the local and procmail mailers
  2254.         respectively.  Contributed by Brad Knowles of the Defense
  2255.         Information Systems Agency.
  2256.     CONFIG: Handle leading ``phrase:'' and trailing ``;'' as comments
  2257.         (just like text outside of angle brackets) in order to
  2258.         properly deal with ``group: addr1, ... addrN;'' syntax.
  2259.     CONFIG: Require OSTYPE macro (the defaults really don't apply to
  2260.         any real systems any more) and tweak the DOMAIN macro
  2261.         so that it is less likely that users will accidently use
  2262.         the Berkeley defaults.  Also, create some generic files
  2263.         that really can be used in the real world.
  2264.     CONFIG: Add new configuration macros to set character sets for
  2265.         messages _arriving from_ various mailers: LOCAL_MAILER_CHARSET,
  2266.         SMTP_MAILER_CHARSET, and UUCP_MAILER_CHARSET.
  2267.     CONFIG: Change UUCP_MAX_SIZE to UUCP_MAILER_MAX for consistency.
  2268.         The old name will still be accepted for a while at least.
  2269.     CONFIG: Implement DECNET_RELAY as spec for host to which DECNET
  2270.         mail (.DECNET pseudo-domain or node::user) will be sent.
  2271.         As with all relays, it can be ``mailer:hostname''.  Suggested
  2272.         by Scott Hutton.
  2273.     CONFIG: Add MAILER(mail11) to get DECnet support.  Code contributed
  2274.         by Barb Dijker of Labyrinth Computer Services.
  2275.     CONFIG: change confCHECK_ALIASES to default to False -- it has poor
  2276.         performance for large alias files, and this confused many
  2277.         people.
  2278.     CONFIG: Add confCF_VERSION to append local information to the
  2279.         configuration version number displayed during SMTP startup.
  2280.     CONFIG: fix some.newsgroup.usenet@local.host syntax (previously it
  2281.         would only work when locally addressed.  Fix from
  2282.         Edvard Tuinder of Cistron Internet Services.
  2283.     CONFIG: use ${opMode} to avoid error on .REDIRECT addresses if option
  2284.         "n" (CheckAlaises) is set when rebuilding alias database.
  2285.         Based on code contributed by Claude Marinier.
  2286.     CONFIG: Allow mailertable to have values of the form
  2287.         ``error:code message''.  The ``code'' is a status code
  2288.         derived from the sysexits codes -- e.g., NOHOST or UNAVAILABLE.
  2289.         Contributed by David James <dwj@agw.bt.co.uk>.
  2290.     CONFIG: add MASQUERADE_DOMAIN(domain list) to extend the list of
  2291.         sender domains that will be replaced with the masquerade name.
  2292.         These domains will not be treated as local, but if mail passes
  2293.         through with sender addresses in those domains they will be
  2294.         replaced by the masquerade name.  These can also be specified
  2295.         in a file using MASQUERADE_DOMAIN_FILE(filename).
  2296.     CONFIG: add FEATURE(masquerade_envelope) to masquerade the envelope
  2297.         as well as the header.  Substantial improvements to this
  2298.         code were contributed by Per Hedeland.
  2299.     CONFIG: add MAILER(phquery) to define a new "ph" mailer; this can be
  2300.         accessed from a mailertable to do CCSO ph lookups.  Contributed
  2301.         by Kimmo Suominen.
  2302.     CONFIG: add MAILER(cyrus) to define a new Cyrus mailer; this can be
  2303.         used to define cyrus and cyrusbb mailers (for IMAP support).
  2304.         Contributed by John Gardiner Myers of Carnegie Mellon.
  2305.     CONFIG: add confUUCP_MAILER to select default mailer to use for
  2306.         UUCP addressing.  Suggested by Tom Moore of AT&T GIS.
  2307.     NEW FILES:
  2308.         cf/cf/cs-hpux10.mc
  2309.         cf/cf/cs-solaris2.mc
  2310.         cf/cf/cyrusproto.mc
  2311.         cf/cf/generic-bsd4.4.mc
  2312.         cf/cf/generic-hpux10.mc
  2313.         cf/cf/generic-hpux9.mc
  2314.         cf/cf/generic-osf1.mc
  2315.         cf/cf/generic-solaris2.mc
  2316.         cf/cf/generic-sunos4.1.mc
  2317.         cf/cf/generic-ultrix4.mc
  2318.         cf/cf/huginn.cs.mc
  2319.         cf/domain/berkeley-only.m4
  2320.         cf/domain/generic.m4
  2321.         cf/feature/bestmx_is_local.m4
  2322.         cf/feature/local_procmail.m4
  2323.         cf/feature/masquerade_envelope.m4
  2324.         cf/feature/smrsh.m4
  2325.         cf/feature/stickyhost.m4
  2326.         cf/feature/use_ct_file.m4
  2327.         cf/m4/cfhead.m4
  2328.         cf/mailer/cyrus.m4
  2329.         cf/mailer/mail11.m4
  2330.         cf/mailer/phquery.m4
  2331.         cf/mailer/procmail.m4
  2332.         cf/ostype/amdahl-uts.m4
  2333.         cf/ostype/bsdi2.0.m4
  2334.         cf/ostype/hpux10.m4
  2335.         cf/ostype/irix5.m4
  2336.         cf/ostype/isc4.1.m4
  2337.         cf/ostype/ptx2.m4
  2338.         cf/ostype/unknown.m4
  2339.         contrib/bsdi.mc
  2340.         contrib/mailprio
  2341.         contrib/rmail.oldsys.patch
  2342.         mail.local/mail.local.0
  2343.         makemap/makemap.0
  2344.         smrsh/README
  2345.         smrsh/smrsh.0
  2346.         smrsh/smrsh.8
  2347.         smrsh/smrsh.c
  2348.         src/Makefiles/Makefile.CSOS
  2349.         src/Makefiles/Makefile.EWS-UX_V
  2350.         src/Makefiles/Makefile.HP-UX.10
  2351.         src/Makefiles/Makefile.IRIX.5.x
  2352.         src/Makefiles/Makefile.IRIX64
  2353.         src/Makefiles/Makefile.ISC
  2354.         src/Makefiles/Makefile.KSR
  2355.         src/Makefiles/Makefile.NEWS-OS.4.x
  2356.         src/Makefiles/Makefile.NEWS-OS.6.x
  2357.         src/Makefiles/Makefile.NEXTSTEP
  2358.         src/Makefiles/Makefile.NonStop-UX
  2359.         src/Makefiles/Makefile.Paragon
  2360.         src/Makefiles/Makefile.SCO.3.2v4.2
  2361.         src/Makefiles/Makefile.SunOS.5.3
  2362.         src/Makefiles/Makefile.SunOS.5.4
  2363.         src/Makefiles/Makefile.SunOS.5.5
  2364.         src/Makefiles/Makefile.UNIX_SV.4.x.i386
  2365.         src/Makefiles/Makefile.uts.systemV
  2366.         src/Makefiles/Makefile.UX4800
  2367.         src/aliases.0
  2368.         src/mailq.0
  2369.         src/mime.c
  2370.         src/newaliases.0
  2371.         src/sendmail.0
  2372.         test/t_seteuid.c
  2373.     RENAMED FILES:
  2374.         cf/cf/alpha.mc =>        cf/cf/s2k-osf1.mc
  2375.         cf/cf/chez.mc =>        cf/cf/chez.cs.mc
  2376.         cf/cf/hpux-cs-exposed.mc =>    cf/cf/cs-hpux9.mc
  2377.         cf/cf/osf1-cs-exposed.mc =>    cf/cf/cs-osf1.mc
  2378.         cf/cf/s2k.mc =>            cf/cf/s2k-ultrix4.mc
  2379.         cf/cf/sunos4.1-cs-exposed.mc =>    cf/cf/cs-sunos4.1.mc
  2380.         cf/cf/ultrix4.1-cs-exposed.mc => cf/cf/cs-ultrix4.mc
  2381.         cf/cf/vangogh.mc =>        cf/cf/vangogh.cs.mc
  2382.         cf/domain/Berkeley.m4 =>    cf/domain/Berkeley.EDU.m4
  2383.         cf/domain/cs-exposed.m4 =>    cf/domain/CS.Berkeley.EDU.m4
  2384.         cf/domain/eecs-hidden.m4 =>    cf/domain/EECS.Berkeley.EDU.m4
  2385.         cf/domain/s2k.m4 =>        cf/domain/S2K.Berkeley.EDU.m4
  2386.         cf/ostype/hpux.m4 =>        cf/ostype/hpux9.m4
  2387.         cf/ostype/irix.m4 =>        cf/ostype/irix4.m4
  2388.         cf/ostype/ultrix4.1.m4 =>    cf/ostype/ultrix4.m4
  2389.         src/Makefile.* =>        src/Makefiles/Makefile.*
  2390.         src/Makefile.AUX =>        src/Makefiles/Makefile.A-UX
  2391.         src/Makefile.BSDI =>        src/Makefiles/Makefile.BSD-OS
  2392.         src/Makefile.DGUX =>        src/Makefiles/Makefile.dgux
  2393.         src/Makefile.RISCos =>        src/Makefiles/Makefile.UMIPS
  2394.         src/Makefile.SunOS.4.0.3 =>    src/Makefiles/Makefile.SunOS.4.0
  2395.     OBSOLETED FILES:
  2396.         cf/cf/cogsci.mc
  2397.         cf/cf/cs-exposed.mc
  2398.         cf/cf/cs-hidden.mc
  2399.         cf/cf/hpux-cs-hidden.mc
  2400.         cf/cf/knecht.mc
  2401.         cf/cf/osf1-cs-hidden.mc
  2402.         cf/cf/sunos3.5-cs-exposed.mc
  2403.         cf/cf/sunos3.5-cs-hidden.mc
  2404.         cf/cf/sunos4.1-cs-hidden.mc
  2405.         cf/cf/ultrix4.1-cs-hidden.mc
  2406.         cf/domain/cs-hidden.m4
  2407.         contrib/rcpt-streaming
  2408.         src/Makefiles/Makefile.SunOS.5.x
  2409.  
  2410. 8.6.13/8.6.12    96/01/25
  2411.     SECURITY: In some cases it was still possible for an attacker to
  2412.         insert newlines into a queue file, thus allowing access to
  2413.         any user (except root).
  2414.     CONFIG: no changes -- it is not a bug that the configuration
  2415.         version number is unchanged.
  2416.  
  2417. 8.6.12/8.6.12    95/03/28
  2418.     Fix to IDENT code (it was getting the size of the reply buffer
  2419.         too small, so nothing was ever accepted).  Fix from several
  2420.         people, including Allan Johannesen, Shane Castle of the
  2421.         Boulder County Information Services, and Jeff Smith of
  2422.         Warwick University (all arrived within a few hours of
  2423.         each other!).
  2424.     Fix a problem that could cause large jobs to run out of
  2425.         file descriptors on systems that use vfork() rather
  2426.         than fork().
  2427.  
  2428. 8.6.11/8.6.11    95/03/08
  2429.     The ``possible attack'' message would be logged more often
  2430.         than necessary if you are using Pine as a user agent.
  2431.     The wrong host would be reported in the ``possible attack''
  2432.         message when attempted from IDENT.
  2433.     In some cases the syslog buffer could be overflowed when
  2434.         reporting the ``possible attack'' message.  This can
  2435.         cause denial of service attacks.  Truncate the message
  2436.         to 80 characters to prevent this problem.
  2437.     When reading the IDENT response a loop is needed around the
  2438.         read from the network to ensure that you don't get
  2439.         partial lines.
  2440.     Password entries without any shell listed (that is, a null
  2441.         shell) wouldn't match as "ok".  Problem noted by
  2442.         Rob McMahon.
  2443.     When running BIND 4.9.x a problem could occur because the
  2444.         _res.options field is initialized differently than it
  2445.         was historically -- this requires that sendmail call
  2446.         res_init before it tweaks any bits.
  2447.     Fix an incompatibility in openxscript() between the file open mode
  2448.         and the stdio mode passed to fdopen.  This caused UnixWare
  2449.         2.0 to have conniptions.  Fix from Martin Sohnius of
  2450.         Novell Labs Europe.
  2451.     Fix problem with static linking of local getopt routine when
  2452.         using GNU's ld command.  Fix from John Kennedy of
  2453.         Cal State Chico.
  2454.     It was possible to turn off privacy flags.  Problem noted by
  2455.         *Hobbit*.
  2456.     Be more paranoid about writing files.  Suggestions by *Hobbit*
  2457.         and Liudvikas Bukys.
  2458.     MAKEMAP: fixes for 64 bit machines (DEC Alphas in particular)
  2459.         from Spider Boardman.
  2460.     CONFIG: No changes (version number only, to keep it in sync
  2461.         with the binaries).
  2462.  
  2463. 8.6.10/8.6.10    95/02/10
  2464.     SECURITY: Diagnose bogus values to some command line flags that
  2465.         could allow trash to get into headers and qf files.
  2466.     Validate the name of the user returned by the IDENT protocol.
  2467.         Some systems that really dislike IDENT send intentionally
  2468.         bogus information.  Problem pointed out by Michael Bushnell
  2469.         of the Free Software Foundation.  Has some security
  2470.         implications.
  2471.     Fix a problem causing error messages about DNS problems when
  2472.         the host name contained a percent sign to act oddly
  2473.         because it was passed as a printf-style format string.
  2474.         In some cases this could cause core dumps.
  2475.     Avoid possible buffer overrun in returntosender() if error
  2476.         message is quite ling.  From Fletcher Mattox of the
  2477.         University of Texas.
  2478.     Fix a problem that would silently drop "too many hops" error
  2479.         messages if and only if you were sending to an alias.
  2480.         From Jon Giltner of the University of Colorado and
  2481.         Dan Harton of Oak Ridge National Laboratory.
  2482.     Fix a bug that caused core dumps on some systems if -d11.2 was
  2483.         set and e->e_message was null.  Fix from Bruce Nagel of
  2484.         Data General.
  2485.     Fix problem that can still cause df files to be left around
  2486.         after "hop count exceeded" messages.  Fix from Andrew
  2487.         Chang and Shau-Ping Lo of SunSoft.
  2488.     Fix a problem that can cause buffer overflows on very long
  2489.         user names (as might occur if you piped to a program
  2490.         with a lot of arguments).
  2491.     Avoid returning an error and re-queueing if the host signature
  2492.         is null; this can occur on addresses like ``user@.''.
  2493.         Problem noted by Wesley Craig and the University of
  2494.         Michigan.
  2495.     Avoid possible calls to malloc(0) if MCI caching is turned
  2496.         off.  Bug fix from Pierre David of the Laboratoire
  2497.         Parallelisme, Reseaux, Systemes et Modelisation (PRiSM),
  2498.         Universite de Versailles - St Quentin, and Jacky
  2499.         Thibault.
  2500.     Make a local copy of the line being sent via senttolist() -- in
  2501.         some cases, buffers could get trashed by map lookups
  2502.         causing it to do unexpected things.  This also simplifies
  2503.         some of the map code.
  2504.     CONFIG: No changes (version number only, to keep it in sync
  2505.         with the binaries).
  2506.  
  2507. 8.6.9/8.6.9    94/04/19
  2508.     Do all mail delivery completely disconnected from any terminal.
  2509.         This provides consistency with daemon delivery and
  2510.         may have some security implications.
  2511.     Make sure that malloc doesn't get called with zero size,
  2512.         since that fails on some systems.  Reported by Ed
  2513.         Hill of the University of Iowa.
  2514.     Fix multi-line values for $e (SMTP greeting message).  Reported
  2515.         by Mike O'Connor of Ford Motor Company.
  2516.     Avoid syserr if no NIS domain name is defined, but the map it
  2517.         is trying to open is optional.  From Win Bent of USC.
  2518.     Changes for picky compilers from Ed Gould of Digital Equipment.
  2519.     Hesiod support for UDB from Todd Miller of the University of
  2520.         Colorado.  Use "hesiod" as the service name in the U
  2521.         option.
  2522.     Fix a problem that failed to set the "authentic" host name (that
  2523.         is, the one derived from the socket info) if you called
  2524.         sendmail -bs from inetd.  Based on code contributed by
  2525.         Todd Miller (this problem was also reported by Guy Helmer
  2526.         of Dakota State University).  This also fixes a related
  2527.         problem reported by Liudvikas Bukys of the University of
  2528.         Rochester.
  2529.     Parameterize "nroff -h" in all the Makefiles so people with
  2530.         variant versions can use them easily.  Suggested by
  2531.         Peter Collinson of Hillside Systems.
  2532.     SMTP "MAIL" commands with multiple ESMTP parameters required two
  2533.         spaces between parameters instead of one.  Reported by
  2534.         Valdis Kletnieks of Virginia Tech.
  2535.     Reduce the number of system calls during message collection by
  2536.         using global timeouts around the collect() loop.  This
  2537.         code was contributed by Eric Wassenaar.
  2538.     If the initial hostname name gathering results in a name
  2539.         without a dot (usually caused by NIS misconfiguration)
  2540.         and BIND is compiled in, directly access DNS to get
  2541.         the canonical name.  This should make life easier for
  2542.         Solaris systems.  If it still can't be resolved, and
  2543.         if the name server is listed as "required", try again
  2544.         in 30 seconds.  If that also fails, exit immediately to
  2545.         avoid bogus "config error: mail loops back to myself"
  2546.         messages.
  2547.     Improve the "MAIL DELETED BECAUSE OF LACK OF DISK SPACE" error
  2548.         message to explain how much space was available and
  2549.         sound a bit less threatening.  Suggested by Stan Janet
  2550.         of the National Institute of Standards and Technology.
  2551.     If mail is delivered to an alias that has an owner, deliver any
  2552.         requested return-receipt immediately, and strip the
  2553.         Return-Receipt-To: header from the subsequent message.
  2554.         This prevents a certain class of denial of service
  2555.         attack, arguably gives more reasonable semantics, and
  2556.         moves things more towards what will probably become a
  2557.         network standard.  Suggested by Christopher Davis of
  2558.         Kapor Enterprises.
  2559.     Add a "noreceipts" privacy flag to turn off all return receipts
  2560.         without recompiling.
  2561.     Avoid printing ESMTP parameters as part of the error message
  2562.         if there are errors during parsing.  This change is
  2563.         purely cosmetic.
  2564.     Avoid sending out error messages during the collect phase of
  2565.         SMTP; there is an MVS mailer from UCLA that gets
  2566.         confused by this.  Of course, I think it's their bug....
  2567.     Check for the $j macro getting undefined, losing a dot, or getting
  2568.         lost from $=w in the daemon before accepting a connection;
  2569.         if it is, it dumps state, prints a LOG_ALERT message,
  2570.         and drops core for debugging.  This is an attempt to
  2571.         track down a bug that I thought was long since gone.
  2572.         If you see this, please forward the log fragment to
  2573.         sendmail@sendmail.ORG.
  2574.     Change OLD_NEWDB from a #ifdef to a #if so it can be turned off
  2575.         with -DOLD_NEWDB=0 on the command line.  From Christophe
  2576.         Wolfhugel.
  2577.     Instead of trying to truncate the listen queue for the server
  2578.         SMTP port when the load average is too high, just close
  2579.         the port completely and reopen it later as needed.
  2580.         This ensures that the other end gets a quick "connection
  2581.         refused" response, and that the connection can be
  2582.         recovered later.  In particular, some socket emulations
  2583.         seem to get confused if you tweak the listen queue
  2584.         size around and can never start listening to connections
  2585.         again.  The down side is that someone could start up
  2586.         another daemon process in the interim, so you could
  2587.         have multiple daemons all not listening to connections;
  2588.         this could in turn cause the sendmail.pid file to be
  2589.         incorrect.  A better approach might be to accept the
  2590.         connection and give a 421 code, but that could break
  2591.         other mailers in mysterious ways and have paging behaviour
  2592.         implications.
  2593.     Fix a glitch in TCP-level debugging that caused flag 16.101 to
  2594.         set debugging on the wrong socket.  From Eric Wassenaar.
  2595.     When creating a df* temporary file, be sure you truncate any
  2596.         existing data in the file -- otherwise system crashes
  2597.         and the like could result in extra data being sent.
  2598.     DOC: Replace the CHANGES-R5-R8 readme file with a paper in the
  2599.         doc directory.  This includes some additional
  2600.         information.
  2601.     CONFIG: change UUCP rules to never add $U! or $k! on the front
  2602.         of recipient envelope addresses.  This should have been
  2603.         handled by the $&h trick, but broke if people were
  2604.         mixing domainized and UUCP addresses.  They should
  2605.         probably have converted all the way over to uucp-uudom
  2606.         instead of uucp-{new,old}, but the failure mode was to
  2607.         loop the mail, which was bad news.
  2608.     Portability fixes:
  2609.         Newer BSDI systems (several people).
  2610.         Older BSDI systems from Christophe Wolfhugel.
  2611.         Intergraph CLIX, from Paul Southworth of CICNet.
  2612.         UnixWare, from Evan Champion.
  2613.         NetBSD from Adam Glass.
  2614.         Solaris from Quentin Campbell of the University of
  2615.             Newcastle upon Tyne.
  2616.         IRIX from Dean Cookson and Bill Driscoll of Mitre
  2617.             Corporation.
  2618.         NCR 3000 from Kevin Darcy of Chrysler Financial Corporation.
  2619.         SunOS (it has setsid() and setvbuf() calls) from
  2620.             Jonathan Kamens of OpenVision Technologies.
  2621.         HP-UX from Tor Lillqvist.
  2622.     New Files:
  2623.         src/Makefile.CLIX
  2624.         src/Makefile.NCR3000
  2625.         doc/changes/Makefile
  2626.         doc/changes/changes.me
  2627.         doc/changes/changes.ps
  2628.  
  2629. 8.6.8/8.6.6    94/03/21
  2630.     SECURITY: it was possible to read any file as root using the
  2631.         E (error message) option.  Reported by Richard Jones;
  2632.         fixed by Michael Corrigan and Christophe Wolfhugel.
  2633.  
  2634. 8.6.7/8.6.6    94/03/14
  2635.     SECURITY: it was possible to get root access by using weird
  2636.         values to the -d flag.  Thanks to Alain Durand of
  2637.         INRIA for forwarding me the notice from the bugtraq
  2638.         list.
  2639.  
  2640. 8.6.6/8.6.6    94/03/13
  2641.     SECURITY: the ability to give files away on System V-based
  2642.         systems proved dangerous -- don't run as the owner
  2643.         of a :include: file on a system that allows giveaways.
  2644.         Unfortunately, this also applies to determining a
  2645.         valid shell.
  2646.     IMPORTANT: Previous versions weren't expiring old connections
  2647.         in the connection cache for a long time under some
  2648.         circumstances.  This could result in resource exhaustion,
  2649.         both at your end and at the other end.  This checks the
  2650.         connections for timeouts much more frequently.  From
  2651.         Doug Anderson of NCSC.
  2652.     Fix a glitch that snuck in that caused programs to be run as
  2653.         the sender instead of the recipient if the mail was
  2654.         from a local user to another local user.  From
  2655.         Motonori Nakamura of Kyoto University.
  2656.     Fix "wildcard" on /etc/shells matching -- instead of looking
  2657.         for "*", look for "/SENDMAIL/ANY/SHELL/".  From
  2658.         Bryan Costales of ICSI.
  2659.     Change the method used to declare the "statfs" availability;
  2660.         instead of HASSTATFS and/or HASUSTAT with a ton of
  2661.         tweaking in conf.c, there is a single #define called
  2662.         SFS_TYPE which takes on one of six values (SFS_NONE
  2663.         for no statfs availability, SFS_USTAT for the ustat(2)
  2664.         syscall, SFS_4ARGS for a four argument statfs(2) call,
  2665.         and SFS_VFS, SFS_MOUNT, or SFS_STATFS for a two argument
  2666.         statfs(2) call with the declarations in <sys/vfs.h>,
  2667.         <sys/mount.h>, or <sys/statfs.h> respectively).
  2668.     Fix glitch in NetInfo support that could return garbage if
  2669.         there was no "/locations/sendmail" property.  From
  2670.         David Meyer of the University of Virginia.
  2671.     Change HASFLOCK from defined/not-defined to a 0/1 definition
  2672.         to allow Linux to turn it off even though it is a
  2673.         BSD-like system.
  2674.     Allow setting of "ident" timeout to zero to turn off the ident
  2675.         protocol entirely.
  2676.     Make 7-bit stripping local to a connection (instead of to a
  2677.         mailer); this allows you to specify that SMTP is a
  2678.         7-bit channel, but revert to 8-bit should it advertise
  2679.         that it supports 8BITMIME.  You still have to specify
  2680.         mailer flag 7 to get this stripping at all.
  2681.     Improve makesendmail script so it handles more cases automatically.
  2682.     Tighten up restrictions on taking ownership of :include: files
  2683.         to avoid problems on systems that allow you to give away
  2684.         files.
  2685.     Fix a problem that made it impossible to rebuild the alias
  2686.         file if it was on a read-only file system.  From
  2687.         Harry Edmon of the University of Washington.
  2688.     Improve MX randomization function.  From John Gardiner Myers
  2689.         of CMU.
  2690.     Fix a minor glitch causing a bogus message to be printed (used
  2691.         %s instead of %d in a printf string for the line number)
  2692.         when a bad queue file was read.  From Harry Edmon.
  2693.     Allow $s to remain NULL on locally generated mail.  I'm not
  2694.         sure this is necessary, but a lot of people have complained
  2695.         about it, and there is a legitimate question as to whether
  2696.         "localhost" is legal as an 822-style domain.
  2697.     Fix a problem with very short line lengths (mailer L= flag) in
  2698.         headers.  This causes a leading space to be added onto
  2699.         continuation lines (including in the body!), and also
  2700.         tries to wrap headers containing addresses (From:, To:,
  2701.         etc) intelligently at the shorter line lengths.  Problem
  2702.         Reported by Lars-Johan Liman of SUNET Operations Center.
  2703.     Log the real user name when logging syserrs, since these can have
  2704.         security implications.  Suggested by several people.
  2705.     Fix address logging of cached connections -- it used to always
  2706.         log the numeric address as zero.  This is a somewhat
  2707.         bogus implementation in that it does an extra system
  2708.         call, but it should be an inexpensive one.  Fix from
  2709.         Motonori Nakamura.
  2710.     Tighten up handling of short syslog buffers even more -- there
  2711.         were cases where the outgoing relay= name was too long
  2712.         to share a line with delay= and mailer= logging.
  2713.     Limit the overhead on split envelopes to one open file descriptor
  2714.         per envelope -- previously the overhead was three
  2715.         descriptors.  This was in response to a problem reported
  2716.         by P{r (Pell) Emanuelsson.
  2717.     Fixes to better handle the case of unexpected connection closes;
  2718.         this redirects the output to the transcript so the info
  2719.         is not lost.  From Eric Wassenaar.
  2720.     Fix potential string overrun if you macro evaluate a string that
  2721.         has a naked $ at the end.  Problem noted by James Matheson
  2722.         <jmrm@eng.cam.ac.uk>.
  2723.     Make default error number on $#error messages 553 (``Requested
  2724.         action not taken: mailbox name not allowed'') instead of
  2725.         501 (``Syntax error in parameters or arguments'') to
  2726.         avoid bogus "protocol error" messages.
  2727.     Strip off any existing trailing dot on names during $[ ... $]
  2728.         lookup.  This prevents it from ending up with two dots
  2729.         on the end of dot terminated names.  From Wesley Craig
  2730.         of the University of Michigan and Bryan Costales of ICSI.
  2731.     Clean up file class reading so that the debugging information is
  2732.         more informative.  It hadn't been using setclass, so you
  2733.         didn't see the class items being added.
  2734.     Avoid core dump if you are running a version of sendmail where
  2735.         NIS is compiled in, and you specify an NIS map, but
  2736.         NIS is not running.  Fix from John Oleynick of
  2737.         Rutgers.
  2738.     Diagnose bizarre case where res_search returns a failure value,
  2739.         but sets h_errno to a success value.
  2740.     Make sure that "too many hops" messages are considered important
  2741.         enough to send an error to the Postmaster (that is, the
  2742.         address specified in the P option).  This fix should
  2743.         help problems that cause the df file to be left around
  2744.         sometimes -- unfortunately, I can't seem to reproduce
  2745.         the problem myself.
  2746.     Avoid core dump (null pointer reference) on EXPN command; this
  2747.         only occurred if your log level was set to 10 or higher
  2748.         and the target account was an alias or had a .forward file.
  2749.         Problem noted by Janne Himanka.
  2750.     Avoid "denial of service" attacks by someone who is flooding your
  2751.         SMTP port with bad commands by shutting the connection
  2752.         after 25 bad commands are issued.  From Kyle Jones of
  2753.         UUNET.
  2754.     Fix core dump on error messages with very long "to" buffers;
  2755.         fmtmsg overflows the message buffer.  Fixed by trimming
  2756.         the to address to 203 characters.  Problem reported by
  2757.         John Oleynick.
  2758.     Fix configuration for HASFLOCK -- there were some spots where
  2759.         a #ifndef was incorrectly #ifdef.  Pointed out by
  2760.         George Baltz of the University of Maryland.
  2761.     Fix a typo in savemail() that could cause the error message To:
  2762.         lists to be incorrect in some places.  From Motonori
  2763.         Nakamura.
  2764.     Fix a glitch that can cause duplicate error messages on split
  2765.         envelopes where an address on one of the lists has a
  2766.         name server failure.  Fix from Voradesh Yenbut of the
  2767.         University of Washington.
  2768.     Fix possible bogus pointer reference on ESMTP parameters that
  2769.         don't have an ``=value'' part.
  2770.     CNAME loops caused an error message to be generated, but also
  2771.         re-queued the message.  Changed to just re-queue the
  2772.         message (it's really hard to just bounce it because
  2773.         of the weird way the name server works in the presence
  2774.         of CNAME loops).  Problem noted by James M.R.Matheson
  2775.         of Cambridge University.
  2776.     Avoid giving ``warning: foo owned process doing -bs'' messages
  2777.         if they use ``MAIL FROM:<foo>'' where foo is their true
  2778.         user name.  Suggested by Andreas Stolcke of ICSI.
  2779.     Change the NAMED_BIND compile flag to be a 0/1 flag so you can
  2780.         override it easily in the Makefile -- that is, you can
  2781.         turn it off using -DNAMED_BIND=0.
  2782.     If a gethostbyname(...) of an address with a trailing dot fails,
  2783.         try it without the trailing dot.  This is because if
  2784.         you have a version of gethostbyname() that falls back
  2785.         to NIS or the /etc/hosts file it will fail to find
  2786.         perfectly reasonable names that just don't happen to
  2787.         be dot terminated in the hosts file.  You don't want to
  2788.         strip the dot first though because we're trying to ensure
  2789.         that country names that match one of your subdomains get
  2790.         a chance.
  2791.     PRALIASES: fix bogus output on non-null-terminated strings.
  2792.         From Bill Gianopoulos of Raytheon.
  2793.     CONFIG: Avoid rewriting anything that matches $w to be $j.
  2794.         This was in code intended to only catch the self-literal
  2795.         address (that is, [1.2.3.4], where 1.2.3.4 is your
  2796.         IP address), but the code was broken.  However, it will
  2797.         still do this if $M is defined; this is necessary to
  2798.         get client configurations to work (sigh).  Note that this
  2799.         means that $M overrides :mailname entries in the user
  2800.         database!  Problem noted by Paul Southworth.
  2801.     CONFIG: Fix definition of Solaris help file location.  From
  2802.         Steve Cliffe <steve@gorgon.cs.uow.edu.au>.
  2803.     CONFIG: Fix bug that broke news.group.USENET mappings.
  2804.     CONFIG: Allow declaration of SMTP_MAILER_MAX, FAX_MAILER_MAX,
  2805.         and USENET_MAILER_MAX to tweak the maximum message
  2806.         size for various mailers.
  2807.     CONFIG: Change definition of USENET_MAILER_ARGS to include argv[0]
  2808.         instead of assuming that it is "inews" for consistency
  2809.         with other mailers.  From Michael Corrigan of UC San Diego.
  2810.     CONFIG: When mail is forwarded to a LOCAL_RELAY or a MAIL_HUB,
  2811.         qualify the address in the SMTP envelope as user@{relay|hub}
  2812.         instead of user@$j.  From Bill Wisner of The Well.
  2813.     CONFIG: Fix route-addr syntax in nullrelay configuration set.
  2814.     CONFIG: Don't turn off case mapping of user names in the local
  2815.         mailer for IRIX.  This was different than most every other
  2816.         system.
  2817.     CONFIG: Avoid infinite loops on certainly list:; syntaxes in
  2818.         envelope.  Noted by Thierry Besancon
  2819.         <besancon@excalibur.ens.fr>.
  2820.     CONFIG: Don't include -z by default on uux line -- most systems
  2821.         don't want it set by default.  Pointed out by Philippe
  2822.         Michel of Thomson CSF.
  2823.     CONFIG: Fix some bugs with mailertables -- for example, if your
  2824.         host name was foo.bar.ray.com and you matched against
  2825.         ".ray.com", the old implementation bound %1 to "bar"
  2826.         instead of "foo.bar".  Also, allow "." in the mailertable
  2827.         to match anything -- essentially, take over SMART_HOST.
  2828.         This also moves matching of explicit local host names
  2829.         before the mailertable so they don't have to be special
  2830.         cased in the mailertable data.  Reported by Bill
  2831.         Gianopoulos of Raytheon; the fix for the %1 binding
  2832.         problem was contributed by Nicholas Comanos of the
  2833.         University of Sydney.
  2834.     CONFIG: Don't include "root" in class $=L (users to deliver
  2835.         locally, even if a hub or relay exists) by default.
  2836.         This is because of the known bug where definition of
  2837.         both a LOCAL_RELAY and a MAIL_HUB causes $=L to ignore
  2838.         both and deliver into the local mailbox.
  2839.     CONFIG: Move up bitdomain and uudomain handling so that they
  2840.         are done before .UUCP class matching; uudomain was
  2841.         reported as ineffective before.  This also frees up
  2842.         diversion 8 for future use.  Problem reported by Kimmo
  2843.         Suominen.
  2844.     CONFIG: Don't try to convert dotted IP address (e.g., [1.2.3.4])
  2845.         into host names.  As pointed out by Jonathan Kamens,
  2846.         these are often used because either the forward or reverse
  2847.         mapping is broken; this translation makes it broken again.
  2848.     DOC: Clarify $@ and $: in the Install & Op Guide.  From Kimmo
  2849.         Suominen.
  2850.     Portability fixes:
  2851.         Unicos from David L. Kensiski of Sterling Sofware.
  2852.         DomainOS from Don Lewis of Silicon Systems.
  2853.         GNU m4 1.0.3 from Karst Koymans of Utrecht University.
  2854.         Convex from Kimmo Suominen <kim@tac.nyc.ny.us>.
  2855.         NetBSD from Adam Glass <glass@sun-lamp.cs.berkeley.edu>.
  2856.         BSD/386 from Tony Sanders of BSDI.
  2857.         Apollo from Eric Wassenaar.
  2858.         DGUX from Doug Anderson.
  2859.         Sequent DYNIX/ptx 2.0 from Tim Wright of Sequent.
  2860.     NEW FILES:
  2861.         src/Makefile.DomainOS
  2862.         src/Makefile.PTX
  2863.         src/Makefile.SunOS.5.1
  2864.         src/Makefile.SunOS.5.2
  2865.         src/Makefile.SunOS.5.x
  2866.         src/mailq.1
  2867.         cf/ostype/domainos.m4
  2868.         doc/op/Makefile
  2869.         doc/intro/Makefile
  2870.         doc/usenix/Makefile
  2871.  
  2872. 8.6.5/8.6.5    94/01/13
  2873.     Security fix:  /.forward could be owned by anyone (the test
  2874.         to allow root to own any file was backwards).  From
  2875.         Bob Campbell at U.C. Berkeley.
  2876.     Security fix: group ids were not completely set when programs
  2877.         were invoked.  This caused programs to have group
  2878.         permissions they should not have had (usually group
  2879.         daemon instead of their own group).  In particular,
  2880.         Perl scripts would refuse to run.
  2881.     Security: check to make sure files that are written are not
  2882.         symbolic links (at least under some circumstances).
  2883.         Although this does not respond to a specific known
  2884.         attack, it's just a good idea.  Suggested by
  2885.         Christian Wettergren.
  2886.     Security fix: if a user had an NFS mounted home directory on
  2887.         a system with a restricted shell listed in their
  2888.         /etc/passwd entry, they could still execute any
  2889.         program by putting that in their .forward file.
  2890.         This fix prevents that by insisting that their shell
  2891.         appear in /etc/shells before allowing a .forward to
  2892.         execute a program or write a file.  You can disable
  2893.         this by putting "*" in /etc/shells.  It also won't
  2894.         permit world-writable :include: files to reference
  2895.         programs or files (there's no way to disable this).
  2896.         These behaviours are only one level deep -- for
  2897.         example, it is legal for a world-writable :include:
  2898.         file to reference an alias that writes a file, on
  2899.         the assumption that the alias file is well controlled.
  2900.     Security fix: root was not treated suspiciously enough when
  2901.         looking into subdirectories.  This would potentially
  2902.         allow a cracker to examine files that were publically
  2903.         readable but in a non-publically searchable directory.
  2904.     Fix a problem that causes an error on QUIT on a cached
  2905.         connection to create problems on the current job.
  2906.         These are typically unrelated, so errors occur in
  2907.         the wrong place.
  2908.     Reset CurrentLA in sendall() -- this makes sendmail queue
  2909.         runs more responsive to load average, and fixes a
  2910.         problem that ignored the load average in locally
  2911.         generated mail.  From Eric Wassenaar.
  2912.     Fix possible core dump on aliases with null LHS.  From
  2913.         John Orthoefer of BB&N.
  2914.     Revert to using flock() whenever possible -- there are just
  2915.         too many bugs in fcntl() locking, particularly over
  2916.         NFS, that cause sendmail to fail in perverse ways.
  2917.     Fix a bug that causes the connection cache to get confused
  2918.         when sending error messages.  This resulted in
  2919.         "unexpected close" messages.  It should fix itself
  2920.         on the following queue run.  Problem noted by
  2921.         Liudvikas Bukys of the University of Rochester.
  2922.     Include $k in $=k as documented in the Install & Op Guide.
  2923.         This seems odd, but it was documented....  From
  2924.         Michael Corrigan of UCSD.
  2925.     Fix problem that caused :include:s from alias files to be
  2926.         forced to be owned by root instead of daemon
  2927.         (actually DefUid).  From Tim Irvin.
  2928.     Diagnose unrecognized I option values -- from Mortin Forssen
  2929.         of the Chalmers University of Technology.
  2930.     Make "error" mailer work consistently when there is no error
  2931.         code associated with it -- previously it returned OK
  2932.         even though there was a real problem.  Now it assumes
  2933.         EX_UNAVAILABLE.
  2934.     Fix bug that caused the last header line of messages that had
  2935.         no body and which were terminated with EOF instead of
  2936.         "." to be discarded.  Problem noted by Liudvikas Bukys.
  2937.     Fix core dump on SMTP mail to programs that failed -- it tried
  2938.         to go to a "next MX host" when none existed, causing
  2939.         a core dump.  From der Mouse at McGill University.
  2940.     Change IDENTPROTO from a defined/not defined to a 0/1 switch;
  2941.         this makes it easier to turn it off (using
  2942.         -DIDENTPROTO=0 in the Makefile).  From der Mouse.
  2943.     Fix YP_MASTER_NAME store to use the unupdated result of
  2944.         gethostname() (instead of myhostname(), which tries
  2945.         to fully qualify the name) to be consistent with
  2946.         SunOS.  If your hostname is unqualified, this fixes
  2947.         transfers to slave servers.  Bug noted by Keith
  2948.         McMillan of Ameritech Services, Inc.
  2949.     Fix Ultrix problem: gethostbyname() can return a very large
  2950.         (> 500) h_length field, which causes the sockaddr
  2951.         to be trashed.  Use the size of the sockaddr instead.
  2952.         Fix from Bob Manson of Ohio State.
  2953.     Don't assume "-a." on host lookups if NAMED_BIND is not
  2954.         defined -- this confuses gethostbyname on hosts
  2955.         file lookups, which doesn't understand the trailing
  2956.         dot convention.
  2957.     Log SMTP server subprocesses that die with a signal instead
  2958.         of from a clean exit.
  2959.     If you don't have option "I" set, don't assume that a DNS
  2960.         "host unknown" message is authoritative -- it
  2961.         might still be found in /etc/hosts.
  2962.     Fix a problem that would cause Deferred: messages to be sent
  2963.         as the subject of an error message, even though the
  2964.         actual cause of a message was more severe than that.
  2965.         Problem noted by Chris Seabrook of OSSI.
  2966.     Fix race condition in DBM alias file locking.  From Kyle
  2967.         Jones of UUNET.
  2968.     Limit delivery syslog line length to avoid bugs in some
  2969.         versions of syslog(3).  This adds a new compile time
  2970.         variable SYSLOG_BUFSIZE.  From Jay Plett of Princeton
  2971.         University, which is in turn derived from IDA.
  2972.     Fix quotes inside of comments in addresses -- previously
  2973.         it insisted that they be balanced, but the 822 spec
  2974.         says that they should be ignored.
  2975.     Dump open file state to syslog upon receiving SIGUSR1 (for
  2976.         debugging).  This also evaluates ruleset 89, if set
  2977.         (with the null input), and logs the result.  This
  2978.         should be used sparingly, since the rewrite process
  2979.         is not reentrant.
  2980.     Change -qI, -qR, and -qS flags to be case-insensitive as
  2981.         documented in the Bat Book.
  2982.     If the mailer returned EX_IOERR or EX_OSERR, sendmail did not
  2983.         return an error message and did not requeue the message.
  2984.         Fix based on code from Roland Dirlewanger of
  2985.         Reseau Regional Aquarel, Bordeaux, France.
  2986.     Fix a problem that caused a seg fault if you got a 421 error
  2987.         code during some parts of connection initialization.
  2988.         I've only seen this when talking to buggy mailers on
  2989.         the other end, but it shouldn't give a seg fault in
  2990.         any case.  From Amir Plivatsky.
  2991.     Fix core dump caused by a ruleset call that returns null.
  2992.         Fix from Bryan Costales of ICSI.
  2993.     Full-Name: field was being ignored.  Fix from Motonori Nakamura
  2994.         of Kyoto University.
  2995.     Fix a possible problem with very long input lines in setproctitle.
  2996.         From P{r Emanuelsson.
  2997.     Avoid putting "This is a warning message" out on return receipts.
  2998.         Suggested by Douglas Anderson.
  2999.     Detect loops caused by recursive ruleset calls.  Suggested by
  3000.         Bryan Costales.
  3001.     Initialize non-alias maps during alias rebuilds -- they may be
  3002.         needed for parsing.  Problem noted by Douglas Anderson.
  3003.     Log sender address even if no message was collected in SMTP
  3004.         (e.g., if all RCPTs failed).  Suggested by Motonori
  3005.         Nakamura.
  3006.     Don't reflect the owner-list contents into the envelope sender
  3007.         address if the value contains ", :, /, or | (to avoid
  3008.         illegal addresses appearing there).
  3009.     Efficiency hack for toktype macro -- from Craig Partridge of
  3010.         BB&N.
  3011.     Clean up DNS error printing so that a host name is always
  3012.         included.
  3013.     Remember to set $i during queue runs.  Reported by Stephen
  3014.         Campbell of Dartmouth University.
  3015.     If the environment variable HOSTALIASES is set, use it during
  3016.         canonification as the name of a file with per-user host
  3017.         translations so that headers are properly mapped.  Reported
  3018.         by Anne Bennett of Concordia University.
  3019.     Avoid printing misleading error message if SMTP mailer (not
  3020.         using [IPC]) should die on a core dump.
  3021.     Avoid incorrect diagnosis of "file 1 closed" when it is caused
  3022.         by the other end closing the connection.  From
  3023.         Dave Morrison of Oracle.
  3024.     Improve several of the error messages printed by "mailq"
  3025.         to include a host name or other useful information.
  3026.     Add NetInfo preliminary support for NeXT systems.  From Vince
  3027.         DeMarco.
  3028.     Fix a glitch that sometimes caused :include:s that pointed to
  3029.         NFS filesystems that were down to give an "aliasing/
  3030.         forwarding loop broken" message instead of queueing
  3031.         the message for retry.  Noted by William C Fenner of
  3032.         the NRL Connection Machine Facility.
  3033.     Fix a problem that could cause a core dump if the input sequence
  3034.         had (or somehow acquired) a \231 character.
  3035.     Make sure that route-addrs always have <angle brackets> around
  3036.         them in non-SMTP envelopes (SMTP envelopes already do
  3037.         this properly).
  3038.     Avoid weird headers on unbalanced punctuation of the form:
  3039.         ``Joe User <user)'' -- this caused reference to the
  3040.         null macro.  Fix from Rick McCarty of IO.COM.
  3041.     Fix a problem that caused an alias "user: user@local.host" to
  3042.         not have the QNOTREMOTE bit set; this caused configs
  3043.         to act as if FEATURE(notsticky) was defined even when
  3044.         it was not.  The effect of the problem was to make it
  3045.         very hard to to set up satellite sites that had a few
  3046.         local accounts, with everything else forwarded to a
  3047.         corporate hub.  Reported by Detlef Drewanz of the
  3048.         University of Rostock and Mark Frost of NCD.
  3049.     Change queuing to not call rulesets 3, {1 or 2}, 4 on header
  3050.         addresses.  This is more efficient (fewer name server
  3051.         calls) and fixes certain unusual configurations, such
  3052.         as those that have ruleset 4 do something that is
  3053.         non-idempotent unless a mailer-specific ruleset did
  3054.         something else.  Problem reported by Brian J. Coan
  3055.         of the Institute for Global Communications.
  3056.     Fix the "obsolete argument" routine in main to better understand
  3057.         new arguments.  For example, if you used ``sendmail
  3058.         -C config -v -q'' it would choke on the -q because
  3059.         the -C would stop looking for old-format arguments.
  3060.     Fix the code that was intended to allow two users to forward their
  3061.         mail to the same program and have them appear unique.
  3062.     Portability fixes for:
  3063.         SCO UNIX from Murray Kucherawy.
  3064.         SCO Open Server 3.2v4 from Philippe Brand.
  3065.         System V Release 4 from Rick Ellis and others.
  3066.         OSF/1 from Steve Campbell.
  3067.         DG/UX from Ben Mesander of the USGS and Bryan Curnutt
  3068.             of Stoner Associates.
  3069.         Motorola SysV88 from Kevin Johnson of Motorola.
  3070.         Solaris 2.3 from Casper H.S. Dik of the University
  3071.             of Amsterdam and John Caruso of University
  3072.             of Maryland.
  3073.         FreeBSD from Ollivier Robert.
  3074.         NetBSD from Adam Glass.
  3075.         TitanOS from Kate Hedstrom of Rutgers University.
  3076.         Irix from Bryan Curnutt.
  3077.         Dynix from Jim Davis of the University of Arizona.
  3078.         RISC/os.
  3079.         Linux from John Kennedy of California State University
  3080.             at Chico.
  3081.         Solaris 2.x from Tony Boner of the U.S. Air Force.
  3082.         NEXTSTEP 3.x from Vince DeMarco.
  3083.         HP-UX from various people.  NOTA BENE:  the location
  3084.             of the config file has moved to /usr/lib
  3085.             to match the HP-UX version of sendmail.
  3086.     CONFIG: Don't do any recipient rewriting on relay mailer;
  3087.         since this is intended only for internal use, the
  3088.         usual RFC 821/822/1123 rules can be relaxed.  The
  3089.         main point of this is to avoid munging (ugh) UUCP
  3090.         addresses when relaying internally.
  3091.     CONFIG: fix typo in mailer/uucp.m4 that mutilates list:;
  3092.         syntax addresses delivered via UUCP.  Solution
  3093.         provided by Peter Wemm.
  3094.     CONFIG: fix thumb-fumble in default UUCP relaying in ruleset
  3095.         zero; it caused double @ signs in addresses.  From
  3096.         Irving Reid of the University of Toronto.
  3097.     CONFIG: Portability fixes for SCO Unix 3.2 with TCP/IP 1.2.1
  3098.         from Markku Toijala of ICL Personal Systems Oy.
  3099.     CONFIG: Add trailing "." on pseudo-domains for consistency;
  3100.         this fixes a problem (noted by Al Whaley of Sunnyside)
  3101.         that made it hard to recognize your own pseudodomain
  3102.         names.
  3103.     CONFIG: catch "@host" syntax errors (i.e., null local-parts)
  3104.         rather than letting them get "local configuration
  3105.         error"s.  Problem noted by John Gardiner Myers.
  3106.     CONFIG: add uucp-uudom mailer variant, based on code posted
  3107.         by Spider Boardman <spider@Orb.Nashua.NH.US>; this
  3108.         has uucp-dom semantics but old UUCP syntax.  This
  3109.         also permits "uucp-old" as an alias for "uucp" and
  3110.         "uucp-new" as a synonym for "suucp" for consistency.
  3111.     CONFIG: add POP mailer support (from Kimmo Suominen
  3112.         <kim@grendel.lut.fi>).
  3113.     CONFIG: drop CSNET_RELAY support -- CSNET is long gone.
  3114.     CONFIG: fix bug caused with domain literal addresses (e.g.,
  3115.         ``[128.32.131.12]'') when FEATURE(allmasquerade)
  3116.         was set; it would get an additional @masquerade.host
  3117.         added to the address.  Problem noted by Peter Wan
  3118.         of Georgia Tech.
  3119.     CONFIG: make sure that the local UUCP name is in $=w.  From
  3120.         Jim Murray of Stratus.
  3121.     CONFIG: changes to UUCP rewriting to simulate IDA-style "V"
  3122.         mailer flag.  Briefly, if you are sending to host
  3123.         "foo", then it rewrites "foo!...!baz" to "...!baz",
  3124.         "foo!baz" remains "foo!baz", and anything else has
  3125.         the local name prepended.
  3126.     CONFIG: portability fixes for HP-UX.
  3127.     DOC: several minor problems fixed in the Install & Op Guide.
  3128.     MAKEMAP: fix core dump problem on lines that are too long or
  3129.         which lack newline.  From Mark Delany.
  3130.     MAILSTATS: print sums of columns (total messages & kbytes
  3131.         in and out of the system).  From Tom Ferrin of UC
  3132.         San Francisco Computer Graphics Lab.
  3133.     SIGNIFICANT USER- OR SYSAD-VISIBLE CHANGES:
  3134.         On HP-UX, /etc/sendmail.cf has been moved to
  3135.             /usr/lib/sendmail.cf to match HP sendmail.
  3136.         Permissions have been tightened up on world-writable
  3137.             :include: files and accounts that have shells
  3138.             that are not listed in /etc/shells.  This may
  3139.             cause some .forward files that have worked
  3140.             before to start failing.
  3141.         SIGUSR1 dumps some state to the log.
  3142.     NEW FILES:
  3143.         src/Makefile.DGUX
  3144.         src/Makefile.Dynix
  3145.         src/Makefile.FreeBSD
  3146.         src/Makefile.Mach386
  3147.         src/Makefile.NetBSD
  3148.         src/Makefile.RISCos
  3149.         src/Makefile.SCO
  3150.         src/Makefile.SVR4
  3151.         src/Makefile.Titan
  3152.         cf/mailer/pop.m4
  3153.         cf/ostype/bsdi1.0.m4
  3154.         cf/ostype/dgux.m4
  3155.         cf/ostype/dynix3.2.m4
  3156.         cf/ostype/sco3.2.m4
  3157.         makemap/Makefile.dist
  3158.         praliases/Makefile.dist
  3159.  
  3160. 8.6.4/8.6.4    93/10/31
  3161.     Repair core-dump problem (write to read-only memory segment)
  3162.         if you fall back to the return-to-Postmaster case in
  3163.         savemail.  Problem reported by Richard Liu.
  3164.     Immediately diagnose bogus sender addresses in SMTP.  This
  3165.         makes quite certain that crackers can't use this
  3166.         class of attack.
  3167.     Reliability Fix:  check return value from fclose() and fsync()
  3168.         in a few critical places.
  3169.     Minor problem in initsys() that reversed a condition for
  3170.         redirecting the output channel on queue runs.  It's
  3171.         not clear this code even does anything.  From Eric
  3172.         Wassenaar of the Dutch National Institute for Nuclear
  3173.         and High-Energy Physics.
  3174.     Fix some problems that caused queue runs to do "too much work",
  3175.         such as double-reading the Errors-To: header.  From
  3176.         Eric Wassenaar.
  3177.     Error messages on writing the temporary file (including the
  3178.         data file) were getting suppressed in SMTP -- this
  3179.         fix causes them to be properly reported.  From Eric
  3180.         Wassenaar.
  3181.     Some changes to support AF_UNIX sockets -- this will only
  3182.         really become relevant in the next release, but some
  3183.         people need it for local patches.  From Michael
  3184.         Corrigan of UC San Diego.
  3185.     Use dynamically allocated memory (instead of static buffers)
  3186.         for macros defined in initsys() and settime(); since
  3187.         these can have different values depending on which
  3188.         envelope they are in.  From Eric Wassenaar.
  3189.     Improve logging to show ctladdr on to= logging; this tells you
  3190.         what uid/gid processes ran as.
  3191.     Fix a problem that caused error messages to be discarded if
  3192.         the sender address was unparseable for some reason;
  3193.         this was supposed to fall back to the "return to
  3194.         postmaster" case.
  3195.     Improve aliaswait backoff algorithm.
  3196.     Portability patches for Linux (8.6.3 required another header
  3197.         file) (from Karl London) and SCO UNIX.
  3198.     CONFIG: patch prog mailer to not strip host name off of envelope
  3199.         addresses (so that it matches local again).  From
  3200.         Christopher Davis.
  3201.     CONFIG: change uucp-dom mailer so that "<>" translates to $n;
  3202.         this prevents uux from seeing lines with null names like
  3203.         ``From   Sat Oct 30 14:55:31 1993''.  From Motonori
  3204.         Nakamura of Kyoto University.
  3205.     CONFIG: handle <list:;> syntax correctly.  This isn't legal, but
  3206.         it shouldn't fail miserably.  From Motonori Nakamura.
  3207.  
  3208. 8.6.2/8.6.2    93/10/15
  3209.     Put a "successful delivery" message in the transcript for
  3210.         addresses that get return-receipts.
  3211.     Put a prominent "this is only a warning" message in warning
  3212.         messages -- some people don't read carefully enough
  3213.         and end up sending the message several times.
  3214.     Include reason for temporary failure in the "warning" return
  3215.         message.  Currently, it just says "cannot send for
  3216.         four hours".
  3217.     Fix the "Original message received" time generated for
  3218.         returntosender messages.  It was previously listed as
  3219.         the current time.  Bug reported by Eric Hagberg of
  3220.         Cornell University Medical College.
  3221.     If there is an error when writing the body of a message,
  3222.         don't send the trailing dot and wait for a response
  3223.         in sender SMTP, as this could cause the connection to
  3224.         hang up under some bizarre circumstances.  From Eric
  3225.         Wassenaar.
  3226.     Fix some server SMTP synchronization problems caused when
  3227.         connections fail during message collection.  From
  3228.         Eric Wassenaar.
  3229.     Fix a problem that can cause srvrsmtp to reject mail if the
  3230.         name server is down -- it accepts the RCPT but rejects
  3231.         the DATA command.  Problem reported by Jim Murray of
  3232.         Stratus.
  3233.     Fix a problem that can cause core dumps if the config file
  3234.         incorrectly resolves to a null hostname.  Reported by
  3235.         Allan Johannesen of WPI.
  3236.     Non-root use of -C flag, dangerous -f flags, and use of -oQ
  3237.         by non-root users were not put into
  3238.         X-Authentication-Warning:s as intended because the
  3239.         config file hadn't set the PrivacyFlags yet.  Fix
  3240.         from Sven-Ove Westberg of the University of Lulea.
  3241.     Under very odd circumstances, the alias file rebuild code
  3242.         could get confused as to whether a database was
  3243.         open or not.
  3244.     Check "vendor code" on the end of V lines -- this is
  3245.         intended to provide a hook for vendor-specific
  3246.         configuration syntax.  (This is a "new feature",
  3247.         but I've made an exception to my rule in a belief
  3248.         that this is a highly exceptional case.)
  3249.     Portability fixes for DG/UX (from Douglas Anderson of NCSC),
  3250.         SCO Unix (from Murray Kucherawy), A/UX, and OSF/1
  3251.         (from Jon Forrest of UC Berkeley)
  3252.     CONFIG: fix ``mailer:host'' form of UUCP relay naming.
  3253.  
  3254. 8.6.1/8.6    93/10/08
  3255.     Portability fixes for A/UX and Encore UMAX V.
  3256.     Fix error message handling -- if you had a name server down
  3257.         causing an error during parsing, that message was never
  3258.         propogated to the queue file.
  3259.  
  3260. 8.6/8.6        93/10/05
  3261.     Configuration cleanup: make it easier to undo IDENTPROTO in
  3262.         conf.h (other systems have the same bug).
  3263.     If HASGETDTABLESIZE and _SC_OPEN_MAX are both defined, assume
  3264.         getdtablesize() instead of sysconf(); a disturbingly
  3265.         large number of systems defined _SC_OPEN_MAX in the
  3266.         header files but don't have the syscall.
  3267.     Another patch to really truly ignore MX records in getcanonname
  3268.         if trymx == FALSE.
  3269.     Fix problem that caused the "250 IAA25499 Message accepted for
  3270.         delivery" message to be omitted if there was an error
  3271.         in the header of the message (e.g., a bad Errors-To:
  3272.         line).  Pointed out by Michael Corrigan of UCSD.
  3273.     Announce name of host we are chatting when we get errors; this
  3274.         is an IDA-ism suggested by Christophe Wolfhugel.
  3275.     Portability fixes for Alpha OSF/1 (from Anthony Baxter of the
  3276.         Australian Artificial Intelligence Institute), SCO Unix
  3277.         (from Murray Kucherawy of Hookup Communication Corp.),
  3278.         NeXT (from Vince DeMarco and myself), Linux (from
  3279.         Karl London <karl@borg.demon.co.uk>), BSDI (from
  3280.         Christophe Wolfhugel, and SVR4 on Dell (from Kimmo
  3281.         Suominen), AUX 3.0 on Macintosh, and ANSI C compilers.
  3282.     Some changes to get around gcc optimizer bugs.  From Takahiro
  3283.         Kanbe.
  3284.     Fix error recovery in queueup if another tf file of the same
  3285.         name already exists.  Problem stumbled over by Bill
  3286.         Wisner of The Well.
  3287.     Output YP_MASTER_NAME and YP_LAST_MODIFIED without null bytes.
  3288.         Problem noted by Keith McMillan of Ameritech Services.
  3289.     Deal with group permissions properly when opening .forward and
  3290.         :include: files.  This relaxes the 8.1C restrictions
  3291.         slightly more.  This includes proper setting of groups
  3292.         when reading :include: files, allowing you to read some
  3293.         files that you should be able to read but have previously
  3294.         been denied unless you owned them or they had "other"
  3295.         read permission.
  3296.     Make certain that $j is in $=w (after the .cf is read) so that
  3297.         if the user is forced to override some silly system,
  3298.         MX suppression will still work.
  3299.     Fix a couple of efficiency problems where newstr was double-
  3300.         calling expensive routines.  In at least one case, it
  3301.         wasn't guaranteed that they would always return the
  3302.         same result.  Problem noted by Christophe Wolfhugel.
  3303.     Fix null pointer dereference in putoutmsg -- only on an error
  3304.         condition from a non-SMTP mailer.  From Motonori
  3305.         Nakamura.
  3306.     Macro expand "C" line class definitions before scanning so that
  3307.         "CX $Z" works.
  3308.     Fix problem that caused error message to be sent while still
  3309.         trying to send the original message if the connection
  3310.         is closed during a DATA command after getting an error
  3311.         on an RCPT command (pretty obscure).  Problem reported
  3312.         by John Myers of CMU.
  3313.     Fix reply to NOOP to be 250 instead of 200 -- this is a long
  3314.         term bug.
  3315.     Fix a nasty bug causing core dumps when returning the "warning:
  3316.         cannot deliver for N hours -- will keep trying" message;
  3317.         it only occurred if you had PostMasterCopy set and
  3318.         only on some architectures.  Although sendmail would
  3319.         keep trying, it would send error messages on each
  3320.         queue interval.  This is an important fix.
  3321.     Allow u and g options to take user and group names respectively.
  3322.     Don't do a chdir into the queue directory in -bt mode to make
  3323.         ruleset testing a bit easier.
  3324.     Don't allow users to turn off logging (using -oL) on the command
  3325.         line -- command line can only raise, not lower, logging
  3326.         level.
  3327.     Set $u to the original recipient on the SMTP transaction or on
  3328.         the command line.  This is only done if there is exactly
  3329.         one recipient.  Technically, this does not meet the
  3330.         specs, because it does not guarantee a domain on the
  3331.         address.
  3332.     Fix a problem that dumped error messages on bad addresses if
  3333.         you used the -t flag.  Problem noted by Josh Smith of
  3334.         Harvey Mudd College.
  3335.     Given an address such as ``<foo> <bar>'', auto-quote the first
  3336.         ``<foo>'' part, giving ``"<foo>" <bar>''.  This is to
  3337.         avoid the problem of people who use angle brackets in
  3338.         their full name information.
  3339.     Fix a null pointer dereference if you set option "l", have
  3340.         an Errors-To: header in the message, and have Errors-To:
  3341.         defined in the config file H lines.  From J.R. Oldroyd.
  3342.     Put YPCOMPAT on #ifdef NIS instead -- it's one less thing to get
  3343.         wrong when compiling.  Suggested by Rick McCarty of TI.
  3344.     Fix a problem that could pass negative SIZE parameter if the
  3345.         df file got lost; this would cause servers to always
  3346.         give a temporary failure, making the problem even worse.
  3347.         Problem noted by Allan Johannesen of WPI.
  3348.     Add "ident" timeout (one of the "r" option selectors) for IDENT
  3349.         protocol timeouts (30s default).  Requested by Murray
  3350.         Kucherawy of HookUp Communication Corp. to handle bogus
  3351.         PC TCP/IP implementations.
  3352.     Change $w default definition to be just the first component of
  3353.         the domain name on config level 5.  The $j macro defaults
  3354.         to the FQDN; $m remains as before.  This lets well-behaved
  3355.         config files use any of the short, long, or subdomain
  3356.         names.
  3357.     Add makesendmail script in src to try to automate multi-architecture
  3358.         builds.  I know, this is sub-optimal, but it is still
  3359.         helpful.
  3360.     Fix very obscure race condition that can cause a queue run to
  3361.         get a queue file for an already completed job.  This
  3362.         problem has existed for years.  Problem noted by the
  3363.         long suffering Allan Johannesen of WPI.
  3364.     Fix a problem that caused the raw sender name to be passed to
  3365.         udbsender instead of the canonified name -- this caused
  3366.         it to sometimes miss records that it should have found.
  3367.     Relax check of name on HELO packet so that a program using -bs
  3368.         that claims to be itself works properly.
  3369.     Restore rewriting of $: part of address through 2, R, 4 in
  3370.         buildaddr -- this requires passing a lot of flags to get
  3371.         it right.  Unlike old versions, this ONLY rewrites
  3372.         recipient addresses, not sender addresses.
  3373.     Fix a bug that caused core dumps in config files that cannot
  3374.         resolve /file/name style addresses.  Fix from Jonathan
  3375.         Kamens of OpenVision Technologies.
  3376.     Fix problem with fcntl locking that can cause error returns to
  3377.         be lost if the lock is lost; this required fully
  3378.         queueing everything, dropping the envelope (so errors
  3379.         would get returned), and then re-reading the queue from
  3380.         scratch.
  3381.     Fix a problem that caused aliases that redefine an otherwise
  3382.         true address to still send to the original address
  3383.         if and only if the alias failed in certain bizarre
  3384.         ways (e.g, if they pointed at a list:; syntax address).
  3385.         Problem pointed out by Jonathan Kamens.
  3386.     Remove support for frozen configuration files.  They caused
  3387.         more trouble than it was worth.
  3388.     Fix problem that can cause error messages to get ignored when
  3389.         using both -odb and -t flags.  Problem noted by Rob
  3390.         McNicholas at U.C. Berkeley.
  3391.     Include all "normal" variations on hostname in $=w.  For example,
  3392.         if the host name is vangogh.cs.berkeley.edu, $=w will
  3393.         contain vangogh, vangogh.cs, and vangogh.cs.berkeley.edu.
  3394.     Add "restrictqrun" privacy flag -- without this, anyone can run
  3395.         the queue.
  3396.     Reset SmtpPhase global on initial connection creation so that
  3397.         messages don't come out with stale information.
  3398.     Pass an "ext" argument to lockfile so that error/log messages
  3399.         will properly reflect the true filename being locked.
  3400.     Put all [...] address forms into $=w -- this eliminates the need
  3401.         for MAXIPADDR in conf.h.  Suggested by John Gardiner
  3402.         Myers of CMU.
  3403.     Fix a bug that can cause qf files to be left around even after
  3404.         an SMTP RSET command.  Problem and fix from Michael
  3405.         Corrigan.
  3406.     Don't send a PostMasterCopy to errors when the Precedence: is
  3407.         negative.  Error reports still go to the envelope
  3408.         sender address.
  3409.     Add LA_SHORT for load averages.
  3410.     Lock sendmail.st file when posting statistics.
  3411.     Add "SendBufSize" and "RcvBufSize" suboptions to "O" option to
  3412.         set the size of the TCP send and receive buffers; if you
  3413.         run over a slow slip line you may need to set these down
  3414.         (although it would be better to fix the SLIP implementation
  3415.         so that it's not necessary to recompile every program
  3416.         that does bulk data transfer).
  3417.     Allow null defaults on $( ... $) lookups.  Problem reported by
  3418.         Amir Plivatsky.
  3419.     Diagnose crufty S and V config lines.  This resulted from an
  3420.         observation that some people were using the SITE macro
  3421.         without the SITECONFIG macro first, which was causing
  3422.         bogus config files that were not caught.
  3423.     Fix makemap -f flag to turn off case folding (it was turning it
  3424.         on instead).  THIS IS A USER VISIBLE CHANGE!!!
  3425.     Fix a problem that caused multiple error messages to be sent if
  3426.         you used "sendmail -t -oem -odb", your system uses fcntl
  3427.         locking, and one of the recipient addresses is unknown.
  3428.     Reset uid earlier in include() so that recursive .forwards or
  3429.         :include:s don't use the wrong uid.
  3430.     If file descriptor 0, 1, or 2 was closed when sendmail was
  3431.         called, the code to recover the descriptor was broken.
  3432.         This sometimes (only sometimes) caused problems with the
  3433.         alias file.  Fix from Motonori Nakamura.
  3434.     Fix a problem that caused aliaswait to go into infinite recursion
  3435.         if the @:@ metasymbol wasn't found in the alias file.
  3436.     Improve error message on newaliases if database files cannot be
  3437.         opened or if running with no database format defined.
  3438.     Do a better estimation of the size of error messages when NoReturn
  3439.         is set.  Problem noted by P{r (Pell) Emanuelsson.
  3440.     Fix a problem causing the "c" option (don't connect to expensive
  3441.         mailers) to be ignored in SMTP.  Problem noted and the
  3442.         solution suggested by Robert Elz of The University of
  3443.         Melbourne.
  3444.     Improve connection caching algorithm by passing "[host]" to
  3445.         hostsignature, which strips the square brackets and
  3446.         returns the real name.  This allows mailertable entries
  3447.         to match regular entries.
  3448.     Re-enable Return-Receipt-To: -- people seem to want this stupid
  3449.         feature, even if it doesn't work right.
  3450.     Catch and log attempts to try the "wiz" command in server SMTP.
  3451.         This also ups the log level from LOG_NOTICE to LOG_CRIT.
  3452.     Be more generous at assigning $z to the home directory -- do this
  3453.         for programs that are specified through a .forward file.
  3454.         Fix from Andrew Chang of Sun Microsystems.
  3455.     Always save a fatal error message in preference to a non-fatal
  3456.         error message so that the "subject" line of return
  3457.         messages is the best possible.
  3458.     CONFIG: reduce the number of quotes needed to quote configuration
  3459.         parameters with commas: two quotes should work now, e.g.,
  3460.         define(ALIAS_FILE, ``/etc/aliases,/etc/aliases.local'').
  3461.     CONFIG: class $=Z is a set of UUCP hosts that use uucp-dom
  3462.         connections (domain-ized UUCP).
  3463.     CONFIG: fix bug in default maps (-o must be before database file
  3464.         name).  Pointed out by Christophe Wolfhugel.  
  3465.     CONFIG: add FEATURE(nodns) to state that we are not relying on
  3466.         DNS.  This would presumably be used in UUCP islands.
  3467.     CONFIG: add OSTYPE(nextstep) and OSTYPE(linux).
  3468.     CONFIG: log $u in Received: line.  This is in technical violation
  3469.         of the standards, since it doesn't guarantee a domain
  3470.         on the address.
  3471.     CONFIG: don't assume "m" in local mailer flags -- this means that
  3472.         if you redefine LOCAL_MAILER_FLAGS you will have to include
  3473.         the "m" flag should you want it.  Apparently some Solaris 2.2
  3474.         installations can't handle multiple local recipients.
  3475.         Problem noted by Josh Smith.
  3476.     CONFIG: add confDOMAIN_NAME to set $j (if undefined, $j defaults).
  3477.     CONFIG: change default version level from 4 to 5.
  3478.     CONFIG: add FEATURE(nullclient) to create a config file that
  3479.         forwards all mail to a hub without ever looking at the
  3480.         addresses in any detail.
  3481.     CONFIG: properly strip mailer: information off of relays when
  3482.         used to change .BITNET form into %-hack form.
  3483.     CONFIG: fix a problem that caused infinite loops if presented
  3484.         with an address such as "!foo".
  3485.     CONFIG: check for self literal (e.g., [128.32.131.12]) even if
  3486.         the reverse "PTR" mapping is broken.  There's a better
  3487.         way to do this, but the change is fairly major and I
  3488.         want to hold it for another release.  Problem noted by
  3489.         Bret Marquis.
  3490.  
  3491. 8.5/8.5        93/07/23
  3492.     Serious bug: if you used a command line recipient that was unknown
  3493.         sendmail would not send a return message (it was treating
  3494.         everything as though it had an SMTP-style client that
  3495.         would do the return itself).  Problem noted by Josh Smith.
  3496.     Change "trymx" option in getcanonname() to ignore all MX data,
  3497.         even during a T_ANY query.  This actually didn't break
  3498.         anything, because the only time you called getcanonname
  3499.         with !trymx was if you already knew there were no MX
  3500.         records, but it is somewhat cleaner.  From Motonori
  3501.         Nakamura.
  3502.     Don't call getcanonname from getmxrr if you already know there
  3503.         are no DNS records matching the name.
  3504.     Fix a problem causing error messages to always include "The
  3505.         original message was received ... from localhost".
  3506.         The correct original host information is now included.
  3507.     Previous change to cf/sh/makeinfo.sh doesn't port to Ultrix (their
  3508.         version of "test" doesn't have the -x flag).  Change it
  3509.         to use -f instead.  From John Myers.
  3510.     CONFIG: 8.4 mistakenly set the default SMTP-style mailer to
  3511.         esmtp -- it should be smtp.
  3512.     CONFIG: send all relayed mail using confRELAY_MAILER (defaults
  3513.         to "relay" (a variant of "smtp") if MAILER(smtp) is used,
  3514.         else "suucp" if MAILER(uucp) is used, else "unknown");
  3515.         this cleans up the configs somewhat.  This fixes a serious
  3516.         problem that caused route-addrs to get mistaken as relays,
  3517.         pointed out by John Myers.  WARNING: this also causes
  3518.         the default on SMART_HOST to change from "suucp" to
  3519.         "relay" if you have MAILER(smtp) specified.
  3520.  
  3521. 8.4/8.4        93/07/22
  3522.     Add option `w'.  If you receive a message that comes to you because
  3523.         you are the best (lowest preference) target of an MX, and
  3524.         you haven't explicitly recognized the source MX host in
  3525.         your .cf file, this option will cause you to try the target
  3526.         host directly (as if there were no MX for it at all).  If
  3527.         `w' is not set, this case is a configuration error.
  3528.         Beware: if `w' is set, senders may get bogus errors like
  3529.         "message timed out" or "host unknown" for problems that
  3530.         are really configuration errors.  This option is
  3531.         disrecommended, provided only for compatibility with
  3532.         UIUC sendmail.
  3533.     Fix a problem that caused the incoming socket to be left open
  3534.         when sendmail forks after the DATA command.  This caused
  3535.         calling systems to wait in FIN_WAIT_2 state until the
  3536.         entire list was processed and the child closed -- a
  3537.         potentially prodigious amount of time.  Problem noted
  3538.         by Neil Rickert.
  3539.     Fix problem (created in 6.64) that caused mail sent to multiple
  3540.         addresses, one of which was a bad address, to completely
  3541.         suppress the sending of the message.  This changes
  3542.         handling of EF_FATALERRS somewhat, and adds an
  3543.         EF_GLOBALERRS flag.  This also fixes a potential problem
  3544.         with duplicate error messages if there is a syntax error
  3545.         in the header of a message that isn't noticed until late
  3546.         in processing.  Original problem pointed out by Josh Smith
  3547.         of Harvey Mudd College.  This release includes quite a bit
  3548.         of dickering with error handling (see below).
  3549.     Back out SMTP transaction if MAIL gets nested 501 error.  This
  3550.         will only hurt already-broken software and should help
  3551.         humans.
  3552.     Fix a problem that broke aliases when neither NDBM nor NEWDB were
  3553.         compiled in.  It would never read the alias file.
  3554.     Repair unbalanced `)' and `>' (the "open" versions are already
  3555.         repaired).
  3556.     Logging of "done" in dropenvelope() was incorrect: it would
  3557.         log this even when the queue file still existed.  Change
  3558.         this to only log "done" (at log level 11) when the
  3559.         queue file is actually removed.  From John Myers.
  3560.     Log "lost connection" in server SMTP at log level 20 if there
  3561.         is no pending transaction.  Some senders just close the
  3562.         connection rather than sending QUIT.
  3563.     Fix a bug causing getmxrr to add a dot to the end of unqualified
  3564.         domains that do not have MX records -- this would cause
  3565.         the subsequent host name lookup to fail.  The problem
  3566.         only occurred if you had FEATURE(nocanonify) set.
  3567.         Problem noted by Rick McCarty of Texas Instruments.
  3568.     Fix invocation of setvbuf when passed a -X flag -- I had
  3569.         unwittingly used an ANSI C extension, and this caused
  3570.         core dumps on some machines.
  3571.     Diagnose self-destructive alias loops on RCPT as well as EXPN.
  3572.         Previously it just gave an empty send queue, which
  3573.         then gave either "Need RCPT (recipient)" at the DATA
  3574.         (confusing, since you had given an RCPT command which
  3575.         returned 250) or just dropped the email, depending on
  3576.         whether you were running VERBose mode.  Now it usually
  3577.         diagnoses this case as "aliasing/forwarding loop broken".
  3578.         Unfortunately, it still doesn't adequately diagnose
  3579.         some true error conditions.
  3580.     Add internal concept of "warning messages" using 6xx codes.
  3581.         These are not reported only to Postmaster.  Unbalanced
  3582.         parens, brackets, and quotes are printed as 653 codes.
  3583.         They are always mapped to 5xx codes before use in SMTP.
  3584.     Clean up error messages to tell both the actual address that
  3585.         failed and the alias they arose from.  This makes it
  3586.         somewhat easier to diagnose problems.  Difficulty noted
  3587.         by Motonori Nakamura.
  3588.     Fix a problem that inappropriately added a ctladdr to addresses
  3589.         that shouldn't have had one during a queue run.  This
  3590.         caused error messages to be handled differently during
  3591.         a queue run than a direct run.
  3592.     Don't print the qf name and line number if you get errors during
  3593.         the direct run of the queue from srvrsmtp -- this was
  3594.         just extra stuff for users to crawl through.
  3595.     Put command line flags on second line of pid file so you can
  3596.         auto-restart the daemon with all appropriate arguments.
  3597.         Use "kill `head -1 /etc/sendmail.pid`" to stop the
  3598.         daemon, and "eval `tail -1 /etc/sendmail.pid`" to
  3599.         restart it.
  3600.     Remove the ``setuid(getuid())'' in main -- this caused the
  3601.         IDENT daemon to screw up.  This required that I change
  3602.         HASSETEUID to HASSETREUID and complicate the mode
  3603.         changing somewhat because both Ultrix and SunOS seem
  3604.         to have a bug causing seteuid() to set the saved uid
  3605.         as well as the effective.  The program test/t_setreuid.c
  3606.         will test to see if your implementation of setreuid(2)
  3607.         is appropriately functional.
  3608.     The FallBackMX (option V) handling failed to properly identify
  3609.         fallback to yourself -- most of the code was there,
  3610.         but it wasn't being enabled.  Problem noted by Murray
  3611.         Kucherawy of the University of Waterloo.
  3612.     Change :include: open timeout from ETIMEDOUT to an internal
  3613.         code EOPENTIMEOUT; this avoids adding "during SmtpPhase
  3614.         with CurHostName" in error messages, which can be
  3615.         confusing.  Reported by Jonathan Kamens of OpenVision
  3616.         Technologies.
  3617.     Back out setpgrp (setpgid on POSIX systems) call to reset the
  3618.         process group id.  The original fix was to get around
  3619.         some problems with recalcitrant MUAs, but it breaks
  3620.         any call from a shell that creates a process group id
  3621.         different from the process id.  I could try to fix
  3622.         this by diddling the tty owner (using tcsetpgrp or
  3623.         equivalent) but this is too likely to break other
  3624.         things.
  3625.     Portability changes:
  3626.         Support -M as equivalent to -oM on Ultrix -- apparently
  3627.             DECnet calls sendmail with -MrDECnet -Ms<HOST> -bs
  3628.             instead of using standard flags.  Oh joy.  This
  3629.             behaviour reported by Jon Giltner of University
  3630.             of Colorado.
  3631.         SGI IRIX  -- this includes several changes that should
  3632.             help other strict ANSI compilers.
  3633.         SCO Unix -- from Murray Kucherawy of HookUp Communication
  3634.             Corporation.
  3635.         Solaris running the Sun C compiler (which despite the
  3636.             documentation apparently doesn't define
  3637.             __STDC__ by default).
  3638.         ConvexOS from Eric Schnoebelen of Convex.
  3639.         Sony NEWS workstations and Omron LUNA workstations from
  3640.             Motonori Nakamura.
  3641.     CONFIG: add confTRY_NULL_MX_LIST to set option `w'.
  3642.     CONFIG: delete `C' and `e' from default SMTP mailers flags;
  3643.         several people have made a good argument that this
  3644.         creates more problems than it solves (although this
  3645.         may prove painful in the short run).
  3646.     CONFIG: generalize all the relays to accept a "mailer:host"
  3647.         format.
  3648.     CONFIG: move local processing in ruleset 0 into a new ruleset
  3649.         98 (8 on old sendmail).  Domain literal [a.b.c.d]
  3650.         addresses are also passed through this ruleset.
  3651.     CONFIG: if neither SMART_HOST nor MAILER(smtp) were defined,
  3652.         internet-style addresses would "fall off the end" of
  3653.         ruleset zero and be interpreted as local -- however,
  3654.         the angle brackets confused the recursive call.
  3655.         These are now diagnosed as "Unrecognized host name".
  3656.     CONFIG: USENET rules weren't included in S0 because of a mistaken
  3657.         ifdef(`_MAILER_USENET_') instead of
  3658.         ifdef(`_MAILER_usenet_').  Problem found by Rein Tollevik
  3659.         of SINTEF RUNIT, Oslo.
  3660.     CONFIG: move up LOCAL_RULE_0 processing so that it happens very
  3661.         early in ruleset 0; this allows .mc authors to bypass
  3662.         things like the "short circuit" code for local addresses.
  3663.         Prompted by a comment by Bill Wisner of The Well.
  3664.     CONFIG: add confSMTP_MAILER to define the mailer used (smtp or
  3665.         esmtp) to send SMTP mail.  This allows you to default
  3666.         to esmtp but use a mailertable or other override to
  3667.         deal with broken servers.  This logic was pointed out
  3668.         to me by Bill Wisner.  Ditto for confLOCAL_MAILER.
  3669.     Changes to cf/sh/makeinfo.sh to make it portable to SVR4
  3670.         environments.  Ugly as sin.
  3671.  
  3672. 8.3/8.3        93/07/13
  3673.     Fix setuid problems introduced in 8.2 that caused messages
  3674.         like "Cannot create qfXXXXXX: Invalid argument"
  3675.         or "Cannot reopen dfXXXXXX: Permission denied".  This
  3676.         involved a new compile flag "HASSETEUID" that takes
  3677.         the place of the old _POSIX_SAVED_IDS -- it turns out
  3678.         that the POSIX interface is broken enough to break
  3679.         some systems badly.  This includes some fixes for
  3680.         HP-UX.  Also fixes problems where the real uid is
  3681.         not reset properly on startup (from Neil Rickert).
  3682.     Fix a problem that caused timed out messages to not report the
  3683.         addresses that timed out.  Error messages are also more
  3684.         "user friendly".
  3685.     Drop required bandwidth on connections from 64 bytes/sec to
  3686.         16 bytes/sec.
  3687.     Further Solaris portability changes -- doesn't require the BSD
  3688.         compatibility library.  This also adds a new
  3689.         "HASGETDTABLESIZE" compile flag which can be used if
  3690.         you want to use getdtablesize(2) instead of sysconf(2).
  3691.         These are loosely based on changes from David Meyer at
  3692.         University of Oregon.  This now seems to work, at least
  3693.         for quick test cases.
  3694.     Fix a problem that can cause duplicate error messages to be
  3695.         sent if you are in SMTP, you send to multiple addresses,
  3696.         and at least one of those addresses is good and points
  3697.         to an account that has a .forward file (whew!).
  3698.     Fix a problem causing messages to be discarded if checkcompat()
  3699.         returned EX_TEMPFAIL (because it didn't properly mark
  3700.         the "to" address).  Problem noted by John Myers.
  3701.     Fix dfopen to return NULL if the open failed; I was depending
  3702.         on fdopen(-1) returning NULL, which isn't the case.  This
  3703.         isn't serious, but does result in weird error diagnoses.
  3704.         From Michael Corrigan.
  3705.     CONFIG: add UUCP_MAX_SIZE M4 macro to set the maximum size of
  3706.         messages sent through UUCP-family mailers.  Suggested
  3707.         by Bill Wisner of The Well.
  3708.     CONFIG: if both MAILER(uucp) and MAILER(smtp) are specified,
  3709.         include a "uucp-dom" mailer that uses domain-style
  3710.         addressing.  Suggested by Bill Wisner.
  3711.     CONFIG: Add LOCAL_SHELL_FLAGS and LOCAL_SHELL_ARGS to match
  3712.         LOCAL_MAILER_FLAGS and LOCAL_MAILER_ARGS.  Suggested by
  3713.         Christophe Wolfhugel.
  3714.     CONFIG: Add OSTYPE(aix3).  From Christophe Wolfhugel.
  3715.  
  3716. 8.2/8.2        93/07/11
  3717.     Don't drop out on config file parse errors in -bt mode.
  3718.     On older configuration files, assume option "l" (use Errors-To
  3719.         header) for back compatibility.  NOTE:  this DOES NOT
  3720.         imply an endorsement of the Errors-To: header in any way.
  3721.     Accept -x flag on AIX-3 as well as OSF/1.  Why, why, why???
  3722.     Don't log errors on EHLO -- it isn't a "real" error for an old
  3723.         SMTP server to give an error on this command, and
  3724.         logging it in the transcript can be confusing.  Fix
  3725.         from Bill Wisner.
  3726.     IRIX compatibility changes provided by Dan Rich
  3727.         <drich@sandman.lerc.nasa.gov>.
  3728.     Solaris 2 compatibility changes.  Provided by Bob Cunningham
  3729.         <bob@kahala.soest.hawaii.edu>, John Oleynick
  3730.         <juo@klinzhai.rutgers.edu>
  3731.     Debugging: -d17 was overloaded (hostsignature and usersmtp.c);
  3732.         move usersmtp (smtpinit and smtpmailfrom) to -d18 to
  3733.         match the other flags in that file.
  3734.     Flush transcript before fork in mailfile().  From Eric Wassenaar.
  3735.     Save h_errno in mci struct and improve error message display.
  3736.         Changes from Eric Wassenaar.
  3737.     Open /dev/null for the transcript if the create of the xf file
  3738.         failed; this avoids at least one possible null pointer
  3739.         reference in very weird cases.  From Eric Wassenaar.
  3740.     Clean up statistics gathering; it was over-reporting because of
  3741.         forks.  From Eric Wassenaar.
  3742.     Fix problem that causes old Return-Path: line to override new
  3743.         Return-Path: line (conf.c needs H_FORCE to avoid
  3744.         re-using old value).  From Motonori Nakamura.
  3745.     Fix broken -m flag in K definition -- even if -m (match only)
  3746.         was specified, it would still replace the key with the
  3747.         value.  Noted by Rick McCarty of Texas Instruments.
  3748.     If the name server timed out over several days, no "timed out"
  3749.         message would ever be sent back.  The timeout code
  3750.         has been moved from markfailure() to dropenvelope()
  3751.         so that all such failures should be diagnosted.  Pointed
  3752.         out by Christophe Wolfhugel and others.
  3753.     Relax safefile() constraints: directories in an include or
  3754.         forward path must be readable by self if the controlling
  3755.         user owns the entry, readable by all otherwise (e.g.,
  3756.         when reading your .forward file, you have to own and
  3757.         have X permssion in it; everyone needs X permission in
  3758.         the root and directories leading up to your home);
  3759.         include files must be readable by anyone, but need not
  3760.         be owned by you.
  3761.     If _POSIX_SAVED_IDS is defined, setuid to the owner before
  3762.         reading a .forward file; this gets around some problems
  3763.         on NFS mounts if root permission is not exported and
  3764.         the user's home directory isn't x'able.
  3765.     Additional NeXT portability enhancements from Axel Zinser.
  3766.     Additional HP-UX portability enhancements from Brian Bullen.
  3767.     Add a timeout around SMTP message writes; this assumes you can
  3768.         get throughput of at least 64 bytes/second.  Note that
  3769.         this does not impact the "datafinal" default, which
  3770.         is separate; this is just intended to work around
  3771.         network clogs that will occur before the final dot
  3772.         is sent.  From Eric Wassenaar.
  3773.     Change map code to set the "include null" flag adaptively --
  3774.         it initially tries both, but if it finds anything
  3775.         matching without a null it never tries again with a
  3776.         null and vice versa.  If -N is specified, it never
  3777.         tries without the null and creates new maps with a
  3778.         null byte.  If -O is specified, it never tries with
  3779.         the null (for efficiency).  If -N and -O are specified,
  3780.         you get -NO (get it?) lookup at all, so this would
  3781.         be a bad idea.  If you don't specify either -N or -O,
  3782.         it adapts.
  3783.     Fix recognition of "same from address" so that MH submissions
  3784.         will insert the appropriate full name information;
  3785.         this used to work and got broken somewhere along the
  3786.         way.
  3787.     Some changes to eliminate some unnecessary SYSERRs in the
  3788.         log.  For example, if you lost a connection, don't
  3789.         bother reporting that fact on the connection you lost.
  3790.     Add some "extended debugging" flags to try to track down
  3791.         why we get occassional problems with file descriptor
  3792.         one being closed when execing a mailer; it seems to
  3793.         only happen when there has been another error in the
  3794.         same transaction.  This requires XDEBUG, defined
  3795.         by default in conf.h.
  3796.     Add "-X filename" command line flag, which logs both sides of
  3797.         all SMTP transactions.  This is intended ONLY for
  3798.         debugging bad implementations of other mailers; start
  3799.         it up, send a message from a mailer that is failing,
  3800.         and then kill it off and examine the indicated log.
  3801.         This output is not intended to be particularly human
  3802.         readable.  This also adds the HASSETVBUF compile
  3803.         flag, defaulted on if your compiler defines __STDC__.
  3804.     CONFIG: change SMART_HOST to override an SMTP mailer.  If you
  3805.         have a local net that should get direct connects, you
  3806.         will need to use LOCAL_NET_CONFIG to catch these hosts.
  3807.         See cf/README for an example.
  3808.     CONFIG: add LOCAL_MAILER_ARGS (default: `mail -d $u') to handle
  3809.         sites that don't use the -d flag.
  3810.     CONFIG: hide recipient addresses as well as sender addresses
  3811.         behind $M if FEATURE(allmasquerade) is specified; this
  3812.         has been requested by several people, but can break
  3813.         local aliases.  For example, if you mail to "localalias"
  3814.         this will be rewritten as "localalias@masqueradehost";
  3815.         although initial delivery will work, replies will be
  3816.         broken.  Use it sparingly.
  3817.     CONFIG: add FEATURE(domaintable).  This maps unqualified domains
  3818.         to qualified domains in headers.  I believe this is
  3819.         largely equivalent to the IDA feature of the same name.
  3820.     CONFIG: use $U as UUCP name instead of $k.  This permits you
  3821.         to override the "system name" as your UUCP name --
  3822.         in particular, to use domain-ized UUCP names.  From
  3823.         Bill Wisner of The Well.
  3824.     CONFIG: create new mailer "esmtp" that always tries EHLO
  3825.         first.  This is currently unused in the config files,
  3826.         but could be used in a mailertable entry.
  3827.  
  3828. 8.1C/8.1B    93/06/27
  3829.     Serious security bug fix: it was possible to read any file on
  3830.         the system, regardless of ownership and permissions.
  3831.     If a subroutine returns a fully qualified address, return it
  3832.         immediately instead of feeding it back into rewriting.
  3833.         This fixes a problem with mailertable lookups.
  3834.     CONFIG: fix some M4 frotz (concat => CONCAT)
  3835.  
  3836. 8.1B/8.1A    93/06/12
  3837.     Serious bug fix: pattern matching backup algorithm stepped by
  3838.         two tokens in classes instead of one.  Found by Claus
  3839.         Assmann at University of Kiel, Germany.
  3840.  
  3841. 8.1A/8.1A    93/06/08
  3842.     Another mailertable fix....
  3843.  
  3844. 8.1/8.1        93/06/07
  3845.     4.4BSD freeze.  No semantic changes.
  3846.  
  3847. 6.65/6.34    93/06/06
  3848.     Fix some lintish problems.
  3849.     Fix some cases where server SMTP behaved poorly when handed bogus
  3850.         input, pointed out by Eric Wassenaar.
  3851.     CONFIG: fix some more (sigh) mailertable bugs -- thanks to
  3852.         Motonori Nakamura of Kyoto University (again).
  3853.  
  3854. 6.64/6.33    93/06/05
  3855.     Don't send 050 (-v) information after the 250 response to a QUIT
  3856.         command in srvrsmtp -- clients usually close the connection
  3857.         at this point, and it causes bogus error messages.
  3858.     Don't send messages that have errors on input (such as unbalanced
  3859.         parentheses) during SMTP transactions, since a return
  3860.         message has (probably) already been sent.
  3861.     Give better diagnostics on timeouts during network reads, including
  3862.         information similar to the SMTP phase.
  3863.     Fix bug that caused SMTP messages to deliver synchronously; this
  3864.         happened after the DATA 250, and hence caused reading the
  3865.         next command to be delayed.
  3866.     Ignore Errors-To: header unless 'l' (lower case el) header is
  3867.         specified.  The Errors-To: header violates RFC 1123.
  3868.         Errors-To: was only needed to take the place of the
  3869.         envelope sender in the days when most Unix mailers
  3870.         didn't understand about the two kinds of senders.
  3871.     Don't send warning messages in response to automatically generated
  3872.         messages (that is, those From:<>).
  3873.     CONFIG: fix some rather stupid typos in the mailertable code
  3874.         pointed out by Motonori Nakamura of Kyoto University.
  3875.     CONFIG: add confUSE_ERRORS_TO configuration option.
  3876.     CONFIG: if ALWAYS_ADD_DOMAIN is selected, try to use $M
  3877.         (masquerade name) instead of $j.
  3878.     CONFIG: don't add dots to relay names (added in 6.29); it breaks
  3879.         several things, and can be simulated by dot terminating
  3880.         the names of relays.  For example, use:
  3881.             DBbit.net.relay.
  3882.         (note the trailing dot).
  3883.  
  3884. 6.63/6.32    93/06/01
  3885.     Fix prototypes to eliminate chars in argument lists -- some
  3886.         compilers are pissy about this.
  3887.     Log protocol ($r) and body type if set so we can determine if
  3888.         the adaptive algorithms are working.
  3889.     Pessimize on locking of database files (particularly for NEWDB
  3890.         databases) during opens.  There were problems with
  3891.         processes opening the file while it was rebuilt; since
  3892.         NEWDB caches heavily, the reader opened an empty file,
  3893.         which is an error.  If your system has the ability to
  3894.         lock atomically on open, this works properly; otherwise,
  3895.         there are race conditions.
  3896.     Check mod time on .pag file instead of .dir in NDBM aliases
  3897.         because the .dir file doesn't get updated for small
  3898.         alias files.  From John Gardiner Myers of CMU.
  3899.     More Solaris portability -- it now compiles on Solaris, but
  3900.         hangs up in gethostbyname().
  3901.     Move setting of RES_DEBUG flag before first myhostname() call
  3902.         so we can see name server traffic on that call.
  3903.     Fsync() queue files.
  3904.     Fix a problem that causes -bi to try to rebuild maps other than
  3905.         the alias file(s).
  3906.     Fix a problem that caused udb to reject entries from any but
  3907.         the first database listed.
  3908.     Rearrange doc subdirectory for 4.4BSD release tape.
  3909.     CONFIG: put $r into the Received line.  This was an oversight.
  3910.     CONFIG: fix typo (call to ruleset 99 should have been rulset 90).
  3911.     CONFIG: move "auxiliary" subroutines to be in ruleset 90-99
  3912.         range -- in the long run, single digit rulesets may
  3913.         become reserved for builtin use by sendmail.
  3914.     CONFIG: fix major problem that causes host aliases (that is,
  3915.         anything in $=w != $j) to not be recognized.  This has
  3916.         been around since 6.30.
  3917.  
  3918. 6.62/6.31    93/05/28
  3919.     BETA RELEASE
  3920.     Fix recursive syserr (if there is an error printing a syserr
  3921.         message).  This makes the code much less eager to consider
  3922.         a write error as serious.  This also includes some
  3923.         heuristics to be clever about closed connections.
  3924.     Lock NEWDB files during gets.  This requires version 1.5 or later
  3925.         of the db library.  If you have an older version, you
  3926.         can use -DOLD_NEWDB.  This will go away in a few weeks.
  3927.     Fix problem causing aliases that use host maps to get overwritten.
  3928.     Do appropriate byte swapping on port numbers in ident protocol
  3929.         code.  Fix from Allan Johannesen of WPI.
  3930.     Defer opening of map files to the same time as alias files so that
  3931.         the daemon will tend to pick up new versions more promptly.
  3932.     Prototype a bunch more functions.
  3933.     Some Solaris 2.1 changes (still doesn't link though).
  3934.     Try to simplify Makefiles by including more subordinate #defines
  3935.         in conf.h (based on OS type).
  3936.     CONFIG: check for domains if FEATURE(mailertable) is defined.
  3937.         For example, if the host name is "knecht.cs.berkeley.edu"
  3938.         it will search the following mailertable keys:
  3939.             knecht.cs.berkeley.edu
  3940.             .cs.berkeley.edu
  3941.             .berkeley.edu
  3942.             .edu
  3943.         This could be used to replace the special relays for bitnet
  3944.         and similar nets.
  3945.  
  3946. 6.61/6.30    93/05/24
  3947.     Fix problem that prevented appending dots on canonified host
  3948.         names.  This breaks tons of config files -- very
  3949.         important fix.
  3950.     Fix improper pointer dereference in response to HELO command.
  3951.     Fix core dump if debugging set in map_rewrite.
  3952.     CONFIG: add FEATURE(always_add_domain) to always attach the
  3953.         local domain (only impacts local mail).
  3954.     CONFIG: try to avoid turning names into $j -- although
  3955.         technically a host can only have one "canonical name",
  3956.         it seems to be common practice to have several.
  3957.  
  3958. 6.60/6.29    93/05/22
  3959.     Major change: merge alias databases with maps.  This expands and
  3960.         changes the map class interface but fixes a bunch of bugs.
  3961.         The important user-visible change is that the file name
  3962.         in a K line now does not include the ".db" extension; this
  3963.         is added automatically.  Also, the -d (NIS domain) flag is
  3964.         missing from the K config line; use @domain instead.
  3965.         When compiling, the *_MAP names are gone -- just compile
  3966.         in NDBM, NEWDB, and/or NIS support.
  3967.     Announce mailer/host/user triple on -bv flag -- from Brian
  3968.         Bullen of Stirling University.
  3969.     Don't send more than one line in response to HELO -- it confuses
  3970.         Pony Express, which then behaves very badly.  However,
  3971.         this change does send two line 220 greetings, with the
  3972.         second line reading "ESMTP spoken here".  The usersmtp
  3973.         module recognizes this and goes into ESMTP mode regardless
  3974.         of the setting of the "a" mailer flag.  Thus, "a" means
  3975.         "always try EHLO".
  3976.     AIX portability changes (thanks to Christophe Wolfhugel of
  3977.         Herve Schauer Consultants (Paris) for providing me with
  3978.         an INSA account for this purpose).  Lightly tested.  Use
  3979.         -D_AIX3.  This probably breaks compatibility with some
  3980.         older systems (e.g., 4.2bsd) but still works on SunOS
  3981.         4.1.2, Ultrix 4.2A, HP-UX 8.07, OSF/1 T1.3, and AIX 3.2.3.
  3982.     Fix a problem causing an error message loop if the output channel
  3983.         is hosed.
  3984.     Add the Makefiles that I use for various environments -- some are
  3985.         Berkeley make versions and some are old make versions.
  3986.         My makefile for the NeXT box has gotten lost, alas!
  3987.     PRALIASES: support for printing NEWDB databases.  From
  3988.         Michael J. Corrigan of U.C. San Diego.
  3989.     CONFIG: don't pass pseudo-domains to $[ ... $] (if you have
  3990.         a wildcard MX it can have weird results).  From
  3991.         Christophe Wolfhugel.
  3992.     CONFIG: dot terminate relay hostnames in S0.  From Christophe
  3993.         Wolfhugel.
  3994.  
  3995. 6.59/6.28    93/05/13
  3996.     Log version with SMTP daemon startup message.
  3997.     Adjust setproctitle to work on NetBSD and BSD/386.
  3998.     Fix null pointer reference in MX fallback code.
  3999.     A bunch of minor fixes from Eric Wassenaar:
  4000.         If deliver cannot execv the mailer, return EX_OSERR
  4001.             instead of EX_TEMPFAIL (to give better
  4002.             error messages).
  4003.         Consistently malloc e_message.
  4004.         Catch degenerate case of calling returntosender()
  4005.             with an empty returnq.
  4006.         MIME reformatting.
  4007.  
  4008. 6.58/6.28    93/05/13
  4009.     Fix bug that can cause incorrect verbose display of user smtp
  4010.         messages.
  4011.     Disable SMTP VERB command if PRIV_NOEXPN is set (since this
  4012.         could reveal the same information.
  4013.     Allow failure when reading SMTP greeting message to go on to
  4014.         next MX host.
  4015.     Add "MIME-Version: 1.0" header if using MIME (this was NOT
  4016.         included in RFC 1344, but Bill King of Allan-Bradley
  4017.         Company forwarded me email from Nathaniel Borenstein
  4018.         claiming that it was an inadvertent omission).
  4019.     Don't use Content-Type: X-message-header.  According to John
  4020.         Myers of CMU, many MIME readers will completely ignore
  4021.         the data if they don't recognize it.  Instead, just
  4022.         add a blank line to make it a legal (empty) message.
  4023.     Fix problem causing dots to keep getting appended to cached
  4024.         hostnames.  This can cause buffer overrun conditions.
  4025.         The problem was found by Erik Forsberg of Retix,
  4026.         although I used a different bug fix than he provided.
  4027.     Fix parsing of split header/envelope rewriting specs -- from
  4028.         Eric Forsberg.
  4029.     Fix from Eric Wassenaar to correct To: lists in error messages.
  4030.  
  4031. 6.57/6.28    93/05/11
  4032.     Fix minor glitch causing extra ctladdrs to be output to queue
  4033.         file.  Just an annoyance.
  4034.     Cache results of name server canonification lookups to avoid
  4035.         backed up queue runs.
  4036.     Major rewrite of alias.c: considerable cleanup, plus sample
  4037.         (untested) support for NIS aliases.  The "A" option
  4038.         can now be a comma separated list (or be repeated) --
  4039.         that is, you can have multiple alias databases.  Each
  4040.         database can have the syntax ``class:file''; if no class
  4041.         is specified, the "implicit" class is assumed.  Implicit
  4042.         searches through a list of compiled in types -- hash,
  4043.         dbm, nis, and stab.  Alias files are searched in the
  4044.         order they are listed.  For example:
  4045.             OAhash:/etc/aliases.local,/etc/aliases
  4046.             OAnis:mail.aliases@my.nis.domain
  4047.         first searches the hash database /etc/aliases.local,
  4048.         then the regular /etc/aliases database, then the NIS
  4049.         map "mail.aliases" in the NIS domain "my.nis.domain".
  4050.     If in Verbose mode (probably from VERB command) run SMTP job
  4051.         in foreground and don't do RCPT optimizations.
  4052.     Add udb :mailsender as equivalent to owner- for regular aliases.
  4053.     Delete option 8; add option 7 that means the opposite.  That is,
  4054.         default to 8-bit mode; a special option is needed to
  4055.         force sendmail into 7 bit mode.
  4056.     Send error messages in encapsulated MIME format.
  4057.     New compile flag "NIS" that turns on NIS alias and NIS map
  4058.         support.
  4059.     Add "j" option to send error messages in MIME (RFC 1341)
  4060.         encapsulated message format per RFC 1344.  The
  4061.         syntax is pretty ugly if you don't have MIME-aware
  4062.         user agents.
  4063.     Clean up message handling (for display in mailq output).
  4064.     New setproctitle implementation for 4.4bsd.
  4065.     Create files (such as ~/dead.letter) using mode FileMode (the
  4066.         F option value) instead of 0666.
  4067.     Fix bug causing output of EXPN command to not be fully qualified.
  4068.         This may cause some problems with UUCP addresses that
  4069.         will require some config file assistance -- specifically,
  4070.         the $: part has to include the host name for this output
  4071.         to make sense.
  4072.     Fix a problem that sometimes diagnosed errors and still sent the
  4073.         message if the header syntax was bad.
  4074.     Fix a bug that caused an error message to be emailed when sendmail
  4075.         was operating in -bv mode.
  4076.     Add "ListenQueueSize" keyword to daemon options option (OO) to
  4077.         set the queue size parameter passed to listen().  You
  4078.         will normally have to tweak your kernel to up this.
  4079.     Strip spaces off of beginning of message-id before logging (in
  4080.         case it was folded across lines).
  4081.     Tweak compile flags in daemon.c -- there were some cases where
  4082.         it wouldn't work without NETINET.
  4083.     Change *file* mailer to output all the usual default headers
  4084.         (From, Date, Message-Id).  It gets used when sending
  4085.         back error messages.
  4086.     CONFIG: explicitly catch and diagnose list:; syntax in ruleset
  4087.         zero -- this is not a valid recipient syntax according
  4088.         to RFC 821.
  4089.     CONFIG: add confMIME_FORMAT_ERRORS to send error messages in
  4090.         MIME format.  Defaults to on.
  4091.     CONFIG: add SMTP_MAILER_FLAGS and UUCP_MAILER_FLAGS to augment
  4092.         the flags for those mailers.
  4093.  
  4094. 6.56/6.27    93/05/01
  4095.     Fix problem that causes the fallback mail to postmaster
  4096.         (case ESM_POSTMASTER in savemail()) to not look at
  4097.         aliases (ugh).
  4098.     Some more HPUX tweaking (compile flag hpux => __hpux so it
  4099.         still works in ANSI mode).
  4100.     Don't try to flock non-regular files when mailing to a file.
  4101.         In particular, this was a problem if you tried to
  4102.         send to /dev/null.
  4103.     Fix a weird bug that can cause senders to be queued as
  4104.         recipients if the name server is down when the mail
  4105.         is initially sent.  This hack just ignores sender
  4106.         deletion (essentially, it sets the MeToo flag) if there
  4107.         is a TEMPFAIL during processing of the sender address.
  4108.         Obscure.
  4109.     Fix a dangling else problem -- from Brian Bullen from University
  4110.         of Stirling, UK.
  4111.     Add the "b" mailer flag to force a blank line on the end of
  4112.         messages.  Some brilliant versions of /bin/mail insist
  4113.         on this but do not add it themselves.
  4114.     Add the "g" mailer flag to prevent user SMTP from sending
  4115.         "MAIL From:<>".  This is only intended to be a
  4116.         transitional gesture, and should not be used if at
  4117.         all possible.  It appears that Berkeley and IDA
  4118.         config files have always handled this properly; the
  4119.         UK config kit apparently does not.
  4120.     Don't lowercase and then capitalize header field names -- leave
  4121.         them with original capitalization.  Fixes from Bill
  4122.         King of Allen-Bradley Company.
  4123.     Further cleanup and improved reporting of error messages,
  4124.         particularly conditions that cause messages to be
  4125.         requeued for future delivery.
  4126.     Tweak syslog priorities in some cases.
  4127.     CONFIG: clean up route-addr on UUCP addresses.
  4128.  
  4129. 6.55/6.25    93/04/27
  4130.     HPUX 8.07 compatibility changes in getla() -- I had to make
  4131.         these changes to get it to work at Berkeley, although
  4132.         others seem to have been working before (???).
  4133.     Various patches to XLA code.
  4134.     Fix problem that causes setuid bit on files to be ignored from
  4135.         SMTP or in queue runs.  Problem noted by Jason Ornstein
  4136.         of Under The Wire, Inc.
  4137.     Fix problem that can cause CNAMEs to be ignored.
  4138.     Generalize getmxrr to match local host in $=w instead of a
  4139.         single name passed in.
  4140.     Some cleanup from Eric Wassenaar:
  4141.         Use FileMailer instead of ProgMailer in two places.
  4142.         Eliminate duplicate 8th-bit stripping in commaize.
  4143.         Fix a problem with mis-parsing of backslash escapes
  4144.             under some circumstances.
  4145.     NIS map fix (was always including trailing null character)
  4146.         from Mike Glendinning of Ingres UK.
  4147.     Add "a" mailer flag to try using ESMTP.  It tries the EHLO
  4148.         command and if that fails falls back to regular SMTP.
  4149.         Also parses EHLO option keywords.  If host supports
  4150.         SIZE extension, this is added to the MAIL FROM:
  4151.         command.
  4152.     Extend "b" option to include a second value which is the
  4153.         maximum message size this server is willing to accept.
  4154.         For example, a value of "10/1000000" says that there
  4155.         must be ten blocks free, and sendmail will reject
  4156.         any message larger than one megabyte.
  4157.     Some portability hooks for NeXT (this could be applicable
  4158.         to Mach in general).  You have to create an empty
  4159.         file called "unistd.h" to get it to compile.
  4160.     Adjust config values (MAXLINE, MAXATOM, and PSBUFSIZE) to
  4161.         be more generous.
  4162.     Add X400-Received: to the list of headers tagged with H_TRACE
  4163.         in conf.c.  From Bill King, Allen-Bradley Co.
  4164.  
  4165. 6.54/6.25    93/04/19
  4166.     Fix problem that caused redefinition of SMTP and QUEUE compile
  4167.         flags.  Pointed out by Jon Forrest of the Sequoia 2000
  4168.         project at Berkeley.
  4169.     Properly handle \! hack -- it was treating host\!user as one
  4170.         token (host!user) instead of three (host, !, user).
  4171.         Fix from Eric Wassenaar of NIKHEF-H.
  4172.     Fix compilation problem in getauthinfo() if IDENTPROTO is off.
  4173.     Turn off DEFNAMES and DNSRCH when getting the hostsignature
  4174.         (i.e., MX records) in level 1 configuration files; this
  4175.         matches the old behaviour.  From Motonori Nakamura of
  4176.         Kyoto University.
  4177.     Improve error message printing -- if sent through an alias,
  4178.         error messages include the name of the alias in the
  4179.         message.  Unfortunately, in order to make this work
  4180.         properly in queue runs, this changes the format of the
  4181.         C line in the qf file.  The relatively uselessness of
  4182.         the previous information was pointed out to me by
  4183.         Allan E Johannesen of WPI.
  4184.     Add XLA compile flag to add hooks to Christophe Wolfhugel's
  4185.         extended load average code.  This is still in very early
  4186.         form.  For information regarding the guts of the xla
  4187.         code, contact Christophe.Wolfhugel@grasp.insa-lyon.fr.
  4188.     Additional hooks for detecting tempfails in rewriting rules
  4189.         (that is, in map lookups).
  4190.  
  4191. 6.53/6.25    93/04/15
  4192.     Properly diagnose ruleset zero returning null (instead of a mailer
  4193.         triple).  From Motonori Nakamura of Kyoto University.
  4194.     More generalization of socket code for other protocols.
  4195.     Shorten timeouts on reverse name lookups -- since they are done
  4196.         during connection establishment, long timeouts here can
  4197.         cause higher level timeouts.  This mainly serves to accept
  4198.         mail from hosts that do not have proper reverse (PTR) DNS
  4199.         records set up.
  4200.     Reset e_statmsg before each mailer invocation to avoid bogus
  4201.         messages in the log.
  4202.     Redefine $r, $s, and $_ in error envelopes so you don't get
  4203.         incorrect cruft in the error message.  Problem noted by
  4204.         Motonori Nakamura of Kyoto University.
  4205.     Fix a problem that can cause failure to return errors to Postmaster
  4206.         in certain cases.  From Motonori Nakamura.
  4207.     Fix a problem that can cause some systems to give duplicate error
  4208.         messages when a bad syntax address such as "<a" is presented
  4209.         to an SMTP server.   It doesn't seem to occur on all
  4210.         machines.  From Motonori Nakamura.
  4211.     Default IDENTPROTO off for Ultrix and HPUX, which apparently have
  4212.         the interesting "feature" that when they receive a "Host
  4213.         unreachable" message they closes all open connections to
  4214.         that host.  However, some firewall gateways send this message
  4215.         if you try to connect to an unauthorized port, such as the
  4216.         IDENT port (113).  Thus, no email can be received from such
  4217.         hosts.  There is some evidence that versions of Ultrix before
  4218.         4.3 do not have this problem.  Thanks to Tom Ivar Helbekkmo
  4219.         for pointing out this behaviour to me and to Michael Corrigan
  4220.         of U.C. San Diego for informing me about the HPUX problem.
  4221.     Allow IPC mailers to return a colon-separated list of hosts in the
  4222.         $@ clause; these are searched in order as though they were
  4223.         MX records.
  4224.     When sending an error report, print the list of addresses tagged
  4225.         as bad.  Requested by Allan E Johannesen of WPI.
  4226.     Change map function calls to return a status code.  This gets
  4227.         passed back as the result of rewrite.  Parseaddr marks
  4228.         the address as a QUEUEUP address if the return code is
  4229.         EX_TEMPFAIL.  All this to queue properly if the name
  4230.         server is down.  This code is not well tested.  This code
  4231.         changes the interface to map lookup functions (a fifth
  4232.         parameter, int *statp, is added).  Feature requested by
  4233.         Dan Oscarsson.
  4234.     Don't delete quotes (in the dequote map) if there are spaces in
  4235.         the string, since this would cause them to be replaced by
  4236.         the SpaceSub character.
  4237.     Accept BODY=8BITMIME on SMTP MAIL command.  This isn't advertised
  4238.         because the 8BIT to 7BIT translation doesn't exist yet.
  4239.         This does add a "bodytype" field to both envelope and
  4240.         queue file and a -B command line flag to pass the type in
  4241.         during direct invocations.
  4242.     Discard return error messages only on responses to responses to
  4243.         responses, not on responses to responses.  That is, the
  4244.         algorithm is to try return to sender, then return to
  4245.         postmaster, then discard.  Previously it discarded
  4246.         immediately if the return to sender pass failed.
  4247.     CONFIG: back out change to hide unqualified hostnames behind %-hack.
  4248.         This screws up local aliases and .forward files.
  4249.     CONFIG: add FEATURE(nocanonify) to turn off calls to $[ ... $];
  4250.         some sites only handle completely canonified names.
  4251.         Requested by John Gardiner Myers of CMU.
  4252.     CONFIG: some UUCP code was still included even if FEATURE(nouucp)
  4253.         was specified.
  4254.  
  4255. 6.52/6.24    93/04/10
  4256.     Clean up some minor glitches on error return messages pointed out
  4257.         by Motonori Nakamura of Kyoto University.
  4258.     Fix reply() to not reset SmtpReplyBuffer on fatal errors; this
  4259.         was supposed to reset SmtpMsg Buffer.  This makes the
  4260.         client side code virtually useless.  Reported by Allan
  4261.         E Johannesen of WPI and Phil Brandenberger of Swarthmore.
  4262.     Better debug messages if fuzzy is disabled, suggested by Allan
  4263.         E Johannesen of WPI.
  4264.     Offset SmtpReplyBuffer by four in usersmtp when checking for
  4265.         loopback.  From Eric Wassenaar.
  4266.     Don't set $s until after runinchild in srvrsmtp -- otherwise
  4267.         it gets cleared.  From Eric Wassenaar.
  4268.     Implement IDA-style $&x for deferred macro expansion.
  4269.     More POSIX compatibility.
  4270.     CONFIG: Hide unqualified hostnames behind %-hack using $s as the
  4271.         actual sender.  This is only done if $r is non-null, that
  4272.         is, if this is not locally submitted mail.
  4273.     CONFIG: Add FEATURE(bitdomain) allowing mapping of BITNET host
  4274.         names to internet domains.  A program contributed by
  4275.         John Gardiner Myers of CMU to create the maps is included
  4276.         in the contrib directory (in the "misc" tar file).
  4277.     CONFIG: Add FEATURE(uucpdomain) for a similar mapping for UUCP
  4278.         hosts.  There is currently no tool to create this map.
  4279.  
  4280. 6.51/6.23    93/04/04
  4281.     Add D= mailer flag to specify a path of possible working directories
  4282.         in which to execute the mailer.  This is intended for the
  4283.         prog mailer; some shells can get upset if they don't have
  4284.         access to the current directory.
  4285.     Add RFC 1413 (IDENT) protocol support.  This is only very loosely
  4286.         tested.  This adds a $_ macro to be the authenticated
  4287.         info (in ``user@domain [address]'' form) and debug flag
  4288.         9 to trace the protocol.
  4289.     Check for loopbacks in usersmtp instead of srvrsmtp -- there is no
  4290.         reason for a local agent to not be talking to the localhost
  4291.         (although the inverse is not true).
  4292.     Add a few hooks for automated map rebuilding.  This is certainly
  4293.         not done yet.
  4294.     CONFIG: Have prog mailer specify a path of ``D=$z:/'' -- that is,
  4295.         user's home directory then the root.
  4296.     CONFIG: Log RFC 1413 identification in Received: line.
  4297.  
  4298. 6.50/6.22    93/04/01
  4299.     Fixes to requeueing code to make it compute priority, nrcpts,
  4300.         and the like properly.
  4301.  
  4302. 6.49/6.22    93/04/01
  4303.     Diagnose incorrect privacy flags.  Suggested by Bryan Costales
  4304.         of ICSI.
  4305.     Some ANSI C fixes.
  4306.     Arrange to quote backslashes as well as other special characters
  4307.         in the phrase part of a route-addr.
  4308.     Some fixes to FallBackMX code suggested by Motonori Nakamura of
  4309.         Kyoto University.
  4310.     More vigorous zeroing of CurHostAddr to avoid logging of bogus
  4311.         host addresses when you are actually just printing
  4312.         information from the MCI structure; problem noted by
  4313.         Michael Corrigan of U.C. San Diego.
  4314.     Don't ignore rest of queue if any job is not runnable.  This can
  4315.         also cause an incorrect job to be lost.  Fix from
  4316.         Eric Wassenaar.
  4317.     Always respond "quickly" to RCPT command; do alias expansion and
  4318.         the like later.  This also means that mail for lists that
  4319.         have errors will be acccepted, and an error sent back
  4320.         later.  This is done by instantiating the queue file
  4321.         and then immediately running and requeueing it.
  4322.  
  4323. 6.48/6.22    93/03/30
  4324.     Fix incorrect diagnosis of infinite loop in ruleset.  Problem noted
  4325.         by several people.
  4326.     Improve information printed when infinite loops are discovered.
  4327.     Zero CurHostAddr to fix erroneous internet addresses in log when no
  4328.         addresses can be bound.  Pointed out by Motonori Nakamura
  4329.         of Kyoto University.
  4330.     "Probe" SMTP connections using RSET instead of NOOP "just in case".
  4331.         Suggested by John Gardiner Myers of CMU.
  4332.     Don't warn about -f if you are setting sender to yourself.
  4333.  
  4334. 6.47/6.22    93/03/29
  4335.     Fix incompatible call to endmailer in smtpquit which causes core
  4336.         dumps.  Noted by Allan E Johannesen of WPI.
  4337.     HPUX portability changes from Michael J. Corrigan of UC San Diego.
  4338.     Require MAIL before RCPT command in srvrsmtp.c.  This had been
  4339.         intentional from the 821 draft days when the order wasn't
  4340.         clear, but is silly now.
  4341.     Fix bug in nis_magic routine that was initializing parameters
  4342.         incorrectly.  Fix from Takahiro Kanbe of Fuji Xerox
  4343.         Information Systems Co., Ltd.
  4344.     Change default for PrivacyFlags in conf.c to 0 -- since it always
  4345.         "or"s in new values, there was no way to turn off the
  4346.         AuthWarning stuff.
  4347.     Add O option to set SMTP daemon options.
  4348.     Add V option to set fallback MX host.  This always sorts at lower
  4349.         priority than anything it gets from the name server.  It
  4350.         should only be used for environments with very bad network
  4351.         connectivity.  Requested by several people.
  4352.     Log sending info.  It's not clear this is a good idea.
  4353.     CONFIG: fix typo in mailertable code.  Noted by Phil Brandenberger
  4354.         of Swarthmore.
  4355.     CONFIG: add confDAEMON_OPTIONS and confFALLBACK_MX to set options
  4356.         O and V, respectively.
  4357.  
  4358. 6.46/6.21    93/03/26
  4359.     Fix botch in server SMTP that broke transactions that did not
  4360.         use HELO first (like MH).  Fix from Michael Corrigan
  4361.         of U.C. San Diego.
  4362.     Fall back to other MX records if there is an error anywhere
  4363.         in delivery (actually on MAIL or DATA -- RCPT is harder).
  4364.         Suggested by John Gardiner Myers and Motonori Nakamura.
  4365.     Revert to non-prototypes -- it turns out that our ANSI C
  4366.         compiler is more forgiving than most others about
  4367.         mixing prototyped extern declarations with non-prototyped
  4368.         function definitions.
  4369.     Fix a problem with multi-word class matching pointed out by
  4370.         Neil Rickert.  Given:
  4371.             CX b a.b.c
  4372.             R$+ $=X $+    $: $1 < $2 > $3
  4373.         the input "user@a.b.c" failed instead of being properly
  4374.         rewritten as "user@a.<b>.c".
  4375.     Neil also convinced me that it was correct that $~ should match
  4376.         only one token -- the problem is that it's always possible
  4377.         to add another token, so $~ matches far too eagerly.
  4378.  
  4379. 6.45/6.21    93/03/25
  4380.     Implement multi-word classes (properly!).
  4381.  
  4382. 6.44/6.21    93/03/25
  4383.     Add X-Authentication-Warning: headers to clue users into possible
  4384.         attempts to forge mail.  This is on the authwarnings
  4385.         privacy flag, but is the default.  Suggested by Bryan
  4386.         Costales of ICSI.
  4387.     Pass default units for convtime in so they can be more reasonable.
  4388.     Allow config files to always add a new Comments: header (i.e.,
  4389.         they will be added even if an old one already exists).
  4390.         Suggested by Bryan Costales of ICSI.
  4391.     Allow config files to delete an existing Return-Path: header.
  4392.         These should only be added at final delivery.  Suggested
  4393.         by Bryan Costales of ICSI.
  4394.     Some debugging additions.  Suggested by Bryan Costales of ICSI.
  4395.     Clean up logging of Family 0 addresses.  Noted by David Muir
  4396.         Sharnoff and others.
  4397.     Add a "dequote" map class.  This allows config files to strip
  4398.         quotes off of addresses.  Note that this is not a builtin
  4399.         map, just a class -- so you have to define the map
  4400.         using the K line.
  4401.     Fix a bug in the queueup() loop getting a locked tf where in
  4402.         very odd cases it can fall off the bottom and core dump.
  4403.         Of course, it was P{r Emanuelsson who found it....
  4404.     Open a new transcript when splitting an envelope.  Problem found
  4405.         by Allan E Johannesen of WPI.
  4406.     Improved error output in endmailer if the mailer core dumps.
  4407.     CONFIG: Fix typo in UUCP mailer definition.
  4408.     CONFIG: Default several of the new options on: eight bit input,
  4409.         privacy flags set to "authwarnings", and message warning
  4410.         set to 4h.
  4411.     CONFIG: Use dequote map.
  4412.  
  4413. 6.43/6.20    93/03/23
  4414.     Fix problem with assumption of an sa_len field in a generic
  4415.         sockaddr -- it turns out that most vendors haven't
  4416.         picked up this (very important) fix.
  4417.     Change compilation flags for daemon code -- select one or both
  4418.         of NETINET or NETISO, but don't ever set DAEMON manually.
  4419.     CONFIG: add FEATURE(mailertable) to do IDA-style mailertables.
  4420.  
  4421. 6.42/6.19    93/03/19
  4422.     Use Postmaster as default fallback return address, not root.
  4423.     POSIX changes for file descriptor handling.
  4424.     Diagnose errors writing new queue file.
  4425.     If you change the owner using an owner- alias, also change the
  4426.         error mode to EM_MAIL so that errors don't get dropped
  4427.         into an inappropriate directory.  Problem noted by
  4428.         Allan E Johannesen of WPI.
  4429.     If you are su'ed to root, send email as who you really are, not
  4430.         as root.  From Brian Kantor of U.C. San Diego.
  4431.     Allow warning messages to be sent after a configurable interval
  4432.         has passed without delivery.  The message is sent only
  4433.         once per envelope.  This changes the format of the qf
  4434.         file to have an F line, and the format of the T option
  4435.         to accept take the format "return/warn" (both intervals).
  4436.     Don't force all local names to lower case -- this was left over
  4437.         from the weird handling of case mapping on aliases.  It
  4438.         is now driven (as expected) by the "u" mailer flag.
  4439.         Problem noted by P{r Emanuelsson.
  4440.     Fix problem that caused headers on returned email to be trashed;
  4441.         they were getting freed, but are still accessible via
  4442.         BlankEnvelope.
  4443.     Fix problem that caused bogus ids to be created on returned
  4444.         mail.
  4445.     Add support for ISO and other non-INET networking.  This is by
  4446.         no means finished yet.  This does assume a lot of other
  4447.         system support, like a version of gethostbyname that
  4448.         returns non-AF_INET addresses.
  4449.     CONFIG: change default on prog mailer to keep upper case in
  4450.         user names (i.e., in the program command line).
  4451.     CONFIG: strip trailing dots off of hosts in uucp mailer before
  4452.         convert to bang format.
  4453.     CONFIG: create new "relay" mailer for $R (LOCAL_RELAY) and $H
  4454.         (MAIL_HUB) delivery that doesn't add local domain.  Note
  4455.         that this violates 821, but is probably "more correct"
  4456.         for what we are trying to do.  Problem pointed out by
  4457.         Michael Graff of Iowa State.
  4458.  
  4459. 6.41/6.18    93/03/18
  4460.     Clean up unnecessary creates of queue ids (i.e., empty qf files)
  4461.         when not needed, such as when starting up an SMTP
  4462.         connection.
  4463.     Fix problem where split envelopes aren't instantiated in the queue.
  4464.         This is quite a serious bug.
  4465.     Owner- aliases had problems with leading spaces causing a
  4466.         premature delimitation.
  4467.  
  4468. 6.40/6.18    93/03/18
  4469.     Have ending 250 (after DATA) include the id; suggested by
  4470.         Brian Kantor of UC San Diego.
  4471.     Add logging on envelope splitting.
  4472.     Change queue ids to have one more letter encoding the hour of
  4473.         the day so that during a single day there is a greater
  4474.         likelihood of uniqueness; requested by Brian Kantor.
  4475.  
  4476. 6.39/6.18    93/03/18
  4477.     Fix minor compile problem if LOCKF is defined.
  4478.     Define size of tobuf in conf.h.  Observed by Toshinari Takahashi
  4479.         of Toshiba.
  4480.     Restore e_sender -- this is equivalent to e_from.q_paddr without
  4481.         decorations such as angle brackets and comments.
  4482.     OSF/1 on Alpha changes from Allan E Johannesen of WPI.
  4483.     CONFIG: fix typo in S3 for list syntax (;: => :;).  Thanks to
  4484.         Christopher Hoover for noting the problem.
  4485.  
  4486. 6.38/6.17    93/03/17
  4487.     Pass envelope to disconnect to avoid another use of CurEnv, which
  4488.         can apparently end up being null at inopportune times.
  4489.     Log "received from" as "relay=" for consistency (suggested by
  4490.         John Gardiner Myers).
  4491.     Fix major bug in header handling:  if no From: line existed in
  4492.         the header (so sendmail inserts one), and the sender is
  4493.         an alias that has an owner, the From: line shows the
  4494.         owner (as well as the envelope).  Fixed by early binding
  4495.         the headers (which will change debugging output).
  4496.     HPUX portability patches from Michael J. Corrigan of UC San Diego.
  4497.     Some attempts to adapt better to out of open file conditions.
  4498.     Some changes to ctladdr handling in queue files.
  4499.  
  4500. 6.37/6.17    93/03/16
  4501.     MAJOR CHANGE:  delete e_sender and e_returnpath (why are these
  4502.         different from e_from?) and $< macro.
  4503.     Log correct IP address in relay= field even if the connection
  4504.         times out.
  4505.     Log "received from [RESPONSE]" on EF_RESPONSE messages (from
  4506.         John Gardiner Myers).
  4507.     Fixes to SysExMsg logging (sometimes just got "message: %s"
  4508.         instead of "message: error message"), noted by Eric
  4509.         Wassenaar.  Also reported by Motonori Nakamura.
  4510.     Improvements to MX piggybacking code, from Motonori Nakamura.
  4511.     Fix case where CurHostName points to an auto variable that has
  4512.         been deallocated (from Motonori Nakamura).
  4513.     Fix bug causing newlines to be included in aliases if option
  4514.         "n" (check alias RHS) is set; bug noted by David Muir
  4515.         Sharnoff.
  4516.     Fix problem causing user names that should be mapped to lower
  4517.         case to not be mapped if they are sent during a queue
  4518.         run.  This greatly simplifies the case mapping code.
  4519.         Problem noted by Allan E Johannesen of WPI.
  4520.     Don't do recipient address rewriting in buildaddr.  This
  4521.         improperly did recipient rewriting on sender addresses,
  4522.         and just seems bogus in general -- but the change could
  4523.         break some .cf files.
  4524.     Pass TZ envariable to child processes for System V.
  4525.     CONFIG: allow LOCAL_RULE_1 and LOCAL_RULE_2 if you want to
  4526.         define those rulesets.
  4527.     KNOWN PROBLEM:  I have seen some problems on SunOS that causes
  4528.         the User Data Base to give errors on some addresses.  I
  4529.         have tracked the problem back at least as far as 93.02.15
  4530.         (version 6.22).  Running with debugging on makes it
  4531.         go away, so I conclude that it is referencing uninitialized
  4532.         stack data.  I haven't been able to track this down yet.
  4533.  
  4534. 6.36/6.16    93/03/08
  4535.     Allow local mailer to specify $@host -- this lets you assign the
  4536.         "foo" part of jgm+foo to $h for passing in to the local
  4537.         mailer.
  4538.     Additional debug printing in getcanonname (show query type).
  4539.     Don't add the e_fromdomain on sender addresses -- this interacts
  4540.         weirdly with the owner- code.
  4541.     Improve delivery logging to not log obvious or meaningless stuff.
  4542.     Include numeric IP address in Received: lines per RFC 1123 section
  4543.         5.2.8.
  4544.     Fixed a bug in checking stat() return value if restrictmailq is
  4545.         set.  Also, check the entire group set instead of just the
  4546.         primary group.  Both from John Gardiner Myers.
  4547.     Don't have usrerr automatically print errno, since this is often
  4548.         misleading.
  4549.     Use transienterror() in makeconnection after connect() fails and
  4550.         in openmailer after execve() fails (from Eric Wassenaar).
  4551.         Also moved transienterror() from util.c to conf.c.
  4552.     Clean up from= logging on response messages.
  4553.     Undo patch allowing prescan to return a null vector -- it breaks
  4554.         too many things.
  4555.     Config: FEATURE(notsticky) lets you use UDB for everything coming
  4556.         in to the machine, even if it is specifically targetted
  4557.         to this machine.  Without it, UDB is bypassed if the user
  4558.         name is fully qualified.
  4559.     Config: fix another minor botch with <> (local mailer wasn't
  4560.         mapping them properly).
  4561.  
  4562. 6.35/6.15    93/03/05
  4563.     Fix getrealhostname to return null if sinlen <= 0 -- this can
  4564.         occur if stdin is a pipe.
  4565.     Avoid infinite loop in getcanonname if name server return
  4566.         NO_DATA (for example).
  4567.     Config: avoid having C flag qualify list syntax and error syntax.
  4568.  
  4569. 6.34/6.14    93/03/05
  4570.     Fix logging in deliver to not pass too many parameters to Ultrix
  4571.         versions of syslog.
  4572.     Don't write the pid file until after the daemon has actually
  4573.         opened and conditioned the connection.
  4574.     Consider addresses "different" if their q_uids differ (so that
  4575.         two users forwarding to the same program will be seen
  4576.         as different, rather than the same).
  4577.     Fix problem with bad parameters in main() -- they set ExitStat
  4578.         but don't exit.
  4579.     Fix null pointer references through RealHostName -- painfully
  4580.         discovered by Allan E Johannesen of WPI.
  4581.     Fix bug causing user@@localhost to core dump (yuch).
  4582.     Config: don't put two @host.dom.ain on users in $=E in SMTP
  4583.         mailer.  Also, catch user@ (no host) in ruleset 0.
  4584.  
  4585. 6.33/6.13    93/03/03
  4586.     Config: add confCW_FILE as the name of the cw configuration file
  4587.         (defaults to /etc/sendmail.cw).  From P{r Emanuelsson.
  4588.     Allow prescan to return a pointer to an empty list -- this is
  4589.         not an error.  Also, clean up error reporting to avoid
  4590.         double errors (prescan reports once, then the caller
  4591.         reports again).
  4592.     Changes to avoid trusting T_ANY queries -- run them, but if you
  4593.         don't get the info you expected, do T_A and T_MX queries
  4594.         anyhow.  This also fixes an oversight where _res.options
  4595.         bits were being ignored.
  4596.     If PRIV_NOVRFY is set, use 252 response code instead of 502 per
  4597.         RFC 1123 section 5.2.3.  It's not 100% clear that this
  4598.         is correct, but it probably works better with stupid
  4599.         mailers that do a VRFY and only check the first digit.
  4600.  
  4601. 6.32/6.12    93/03/02
  4602.     Fix uninitialized variable "protocol" in smtp code.
  4603.     Include <unistd.h> in sendmail.h -- move towards POSIX/ANSI.
  4604.     Additional hooks for RFC 1427 (ESMTP SIZE extension).  This
  4605.         includes requiring that enoughspace() know the system
  4606.         block size, which will undoubtedly break most ports.
  4607.     Trace flag 19 in use for srvrsmtp.c.
  4608.     Additional logging -- notably the sending mailer name.  This
  4609.         also changes the delivery logging to strict field=value
  4610.         syntax.
  4611.     Fix some problems with messages getting sent even to addresses
  4612.         that had been marked bad -- from Eric Wassenaar.
  4613.     More WIDE changes: accept host name inside [...] as non-MXed
  4614.         host.  This is intended ONLY for use inside firewalled
  4615.         environments, where the MX points at the gateway.
  4616.     Change .cf file conventions so that mapping for <> addresses
  4617.         don't have an @ in them (to avoid confusing the C mailer
  4618.         flag).  Pointed out by Neil Rickert.
  4619.     Config extensions for Sam Leffler's FlexFAX software.
  4620.  
  4621. 6.31/6.10    93/02/28
  4622.     Fix some more bugs in alias owner code -- there were some weird
  4623.         cases where an error in a non-aliased name would override
  4624.         the return info in an aliased name with an owner.
  4625.     Changes from WIDE Project, forwarded to me by Motonori Nakamura:
  4626.         Log actual delivery host (after MX et al); from
  4627.             yasuhiro@dcl.co.jp.
  4628.         Log daemon startup.
  4629.         Deliver Postmaster copies without a body.
  4630.         Better logging of SMTP senders.
  4631.         Send all program email as daemon even when local.
  4632.     As requested in various forms from many people, accept -qIstring
  4633.         to limit queue runs to jobs with queue-id matching string.
  4634.         Similarly for -qRstring for recipients, -qSstring for
  4635.         senders.
  4636.     Initial hooks for ESMTP support (see RFC 1425).
  4637.     Fixed a syntax error in the UUCP mailer specification that caused
  4638.         core dumps on startup.
  4639.     Check for missing A= or P= arguments in mailer definitions.
  4640.  
  4641. 6.30/6.10    93/02/27
  4642.     Require FROZENCONFIG compilation flag to include frozen
  4643.         configuration code.  Frozen configuration is really
  4644.         not a very good idea any more, particularly in shared
  4645.         library environments.
  4646.     Do better checking of errno after opens of :include: and .forward
  4647.         files to defer delivery on network and other transient
  4648.         errors.  Suggestion from Craig Everhart.
  4649.     Fix minor botch in read timeout macro processing.
  4650.     Add FEATURE(nouucp) to config files for sites that know absolutely
  4651.         nothing about UUCP.
  4652.     Add built cf files to distribution tape and clarify how to build
  4653.         them if you don't have the Berkeley make.
  4654.     Some sizeof(long) portability changes for the Alpha, from Allan
  4655.         E Johannesen.
  4656.     Add "restrictmailq" privacy flag -- if set, only people in the same
  4657.         group as your queue directory can print the queue.  If you
  4658.         set this, be sure you also restrict access to log files....
  4659.     Fix another bug in owner-list stuff that can cause data files to
  4660.         be "lost".
  4661.     Fix a bug with queue runs that cause forwards to yourself to go
  4662.         into alias/forwarding loops.  I'm still iffy about this
  4663.         fix.
  4664.     Fix from Eric Wassenaar for suppression of return message code.
  4665.  
  4666. 6.29/6.9    93/02/24
  4667.     Fix yet another problem in alias owner code -- put the wrong return
  4668.         address on the enclosed return-to-sender letter.
  4669.  
  4670. 6.28/6.9    93/02/24
  4671.     Fix botch in alias owner code that caused it to not operate if the
  4672.         error was detected locally.
  4673.  
  4674. 6.27/6.9    93/02/24
  4675.     M_LOCAL => M_LOCALMAILER to avoid conflict with Ultrix include
  4676.         file <sys/mount.h>.
  4677.     Miscellaneous bug fixes from Eric Wassenaar:
  4678.         sendmail -bv -t logs the from line even though in verify
  4679.             mode only.
  4680.         sendmail -v can go into queue mode if shouldqueue returns
  4681.             TRUE.
  4682.     Add route-addr pruning per RFC 1123 section 5.3.3.  This can be
  4683.         disabled using the "R" option.
  4684.     Delete (always undocumented) -R flag (save original recipients);
  4685.         there are ways to syslog(3) these now.
  4686.     Clean up SMTP reply codes -- specify them as needed in the code,
  4687.         instead of in conf.c -- this was needed during the NCP to
  4688.         TCP transition, but seems silly now.  This also changes
  4689.         parameters to message and nmessage.
  4690.     Have mailstats read the .cf file to find the sendmail.st file and
  4691.         get text versions of mailer names.  An initial version of
  4692.         this code was provided by Tuominen Keijo (although the
  4693.         comments indicate the good bits were written by "E.V.").
  4694.     Add yet more System V compatibility hacks.
  4695.     Fix bug in VRFY code (assumes everything must be a local user).
  4696.     Allow specification of any of the hard-wired pathnames in the
  4697.         Makefile.
  4698.     Delete concept of "trusted users" -- this really didn't provide
  4699.         any security anyway, and caused some problems.
  4700.     Delete last vestige of support for the word "at" as an equivalent
  4701.         to the character "@".
  4702.     Propagate owner-foo alias information into the envelope sender.
  4703.         Based on code from John Gardiner Myers.  This is a major
  4704.         semantic change -- beware!
  4705.     Allow $@ on LHS to indicate "match zero" -- this is used to match
  4706.         the null expression.
  4707.  
  4708. 6.26/6.8    93/02/21
  4709.     Don't "lose" queue runs.  Very important fix from (who else?)
  4710.         Eric Wassenaar.
  4711.     Completely reset state on RSET command -- from Eric Wassenaar.
  4712.     Send error messages and return receipts using an envelope sender
  4713.         of <> regardless of the setting of $n.  Rewriting rules
  4714.         can undo this if they feel the necessity, as might be
  4715.         needed for networks that don't understand the syntax.
  4716.         This is permitted by RFC 821 section 3.6 and required by
  4717.         RFC 1123 section 5.3.3.  THIS REQUIRES VERSION 4 CONFIG
  4718.         FILES because the rulesets must be able to parse <>
  4719.         properly.
  4720.     Don't ever send error messages to "<>" -- they will get sent to
  4721.         the local postmaster or dumped in /usr/tmp/dead.letter
  4722.         instead.  Per RFC 1123 section 5.3.3.
  4723.     Explicitly check for email to yourself as a dotted quad.  You
  4724.         have to call $[ [ ... ] $] to get this.
  4725.     Up the message timeout to five days per RFC 1123 section 5.3.1.1.
  4726.     Make all read timeouts individually configurable, as strongly
  4727.         recommended by RFC 1123 section 5.3.2.
  4728.     Use f_bavail (blocks available to regular users) instead of f_bfree
  4729.         (blocks available to superuser) in free block checks.
  4730.     Change $d macro to be the current time, not the origination time,
  4731.         since this is consistent with how it is used now.
  4732.     Generalization of enoughspace from Eric Wassenaar covering
  4733.         SGI, Apollo, HPUX, Ultrix, and SunOS.
  4734.     Ignore process group signals -- some front ends can do this if
  4735.         you kill a window too quickly.  From Eric Wassenaar.
  4736.     Change umask to 022.
  4737.  
  4738. 6.25/6.8    93/02/20
  4739.     Close all cached connections before calling mailers and after
  4740.         forking for delivery (caused double closes which resulted
  4741.         in false errors).
  4742.     Add FEATURE(redirect) in config files -- this allows you to alias
  4743.         old addresses to a pointer to the new address that will
  4744.         give a 551 error message, but not deliver the mail.
  4745.     Some code changes to make the 551 errors look pretty.
  4746.     Names of M4 program paths in config files have changed -- they
  4747.         are all XXX_MAILER_PATH now, to match XXX_MAILER_FLAGS.
  4748.     Fix a bug in the QSELFREF code having to do with empty .forward
  4749.         files, reported by Eric Wassenaar.
  4750.     Add option "p" (privacy flags); this allows you to tune how
  4751.         picky the SMTP server will be.  This also adds the
  4752.         confPRIVACY_FLAGS M4 macro in the config files.
  4753.     Add option "b" (minimum blocks free).  If there are fewer than
  4754.         this number of blocks free on the filesystem containing
  4755.         the queue directory, the SMTP MAIL command will return
  4756.         a 452 response and ask you to try again later.  This
  4757.         also adds the confMIN_FREE_BLOCKS M4 macro in the config
  4758.         files.
  4759.     Made VRFY just verify (doesn't expand aliases and .forward files);
  4760.         EXPN does full expansion.  RCPT in queue-only mode also
  4761.         doesn't chase aliases and .forward.
  4762.  
  4763. 6.24/6.7    93/02/19
  4764.     Increase the number of domain search entries in domain.c to allow
  4765.         for the extra "" entry indicating the root domain.
  4766.         Reported by Motonori Nakamura of Kyoto U.
  4767.     Add a "SMART_HOST" in the configs for UUCP-connected sites that
  4768.         want to forward all mail with extra "@"s to that site.
  4769.         Also allows SMART_HOST, LOCAL_RELAY, and MAIL_HUB to
  4770.         be specified as ``mailer:hostname'' to use an alternate
  4771.         mailer.
  4772.     Clarified and updated some wording in the Operations Guide.
  4773.     Add the "c" mailer flag -- this suppresses all comment parts of
  4774.         addresses (requested by John Curran of NEARnet).
  4775.     Have -v print prompts in -bt mode even if stdin is not a terminal
  4776.         (default behaviour is to be silent if not reading from
  4777.         a terminal).  Suggested by Bryan Costales, ICSI.
  4778.     Move the metacharacters from C0 space (\001-\037) into C1 space
  4779.         (\201-\237).  This also fixes a bunch of potential bugs
  4780.         with G1 characters (\240-\276) in headers relating to
  4781.         negative numbers passed to isspace() et al.
  4782.     Add YP_LAST_MODIFIED and YP_MASTER_NAME to DBM version of alias
  4783.         database if YPCOMPAT is #defined.  Enhancement from
  4784.         Takahiro Kanbe of Fuji Xerox Information Systems Co., Ltd.
  4785.     Add "list" Precedence (-30); this can be used with old sendmails
  4786.         which will map to precedence 0 (which will return error
  4787.         messages).  Suggested by Stephen R. van den Berg.
  4788.     Many bug fixes from Eric Wassenaar of the National Institute for
  4789.             Nuclear and High-Energy Physics, Amsterdam:
  4790.         Clear timeouts properly on open failures in include().
  4791.         Don't dereference through NULL if no home directory found.
  4792.         Re-establish SIGCHLD signal on System 5 in reapchild().
  4793.         Avoid NULL pointer reference on -pFOO flag.
  4794.         Properly handle backslash escapes in comments.
  4795.         Correctly check reply status on SMTP NOOP command.
  4796.         Properly save SMTP error message if peer gives
  4797.             "Service Shutting Down" message.
  4798.         Avoid writing to the transcript if it couldn't be opened.
  4799.         Signal errors in SMTP children to parent properly.
  4800.     Handle self references in a list more globally (include a
  4801.         QSELFREF bit in the address flags).  This enhancement
  4802.         was suggested by Eric Wassenaar.
  4803.     Use initgroups() in hpux, even though it's System-V based.  The
  4804.         HASINITGROUPS compile flag can set this on other systems.
  4805.         This HPUX behaviour was pointed out by Eric Wassenaar.
  4806.  
  4807. 6.23/6.6    93/02/16
  4808.     Clean up handling of LogLevel to make it easier to figure out
  4809.         what's on what level.
  4810.     Change log levels to have some consistency:
  4811.         1    serious system failures, security problems
  4812.         2    lost communications, protocol failures
  4813.         3    other serious failures
  4814.         4    minor errors
  4815.         5    message collection
  4816.         6    vrfy logging, creation of return-to-sender
  4817.         7    delivery failures
  4818.         8    delivery successes
  4819.         9    delivery tempfails (queue ups)
  4820.         10   database expansion
  4821.         >64  debugging
  4822.     Allow IDA-style separated processing on S= and R= in Mailer
  4823.         definition lines.  Note that rulesets 1 and 2 are
  4824.         still used for both addresses as before.  Bruce Lilly
  4825.         gave a convincing argument that RFC976 insists on
  4826.         this behaviour.
  4827.     Added some time zones to arpatounix -- they may not be in the
  4828.         standards, but they are in use.  However, I may delete
  4829.         arpatounix entirely -- there appears to be no reason
  4830.         for it to exist.
  4831.     Change to UUCP mailer (in cf directory) to try to do a saner job.
  4832.         I'm still not certain about this mailer in general.
  4833.  
  4834. 6.22/6.5    93/02/15
  4835.     Fix bug that prevents saving letters in ~/dead.letter.
  4836.     Don't add angle brackets in VRFY command if angle brackets already
  4837.         exist in the address.
  4838.     Fix bogus error message in udbexpand.
  4839.     Null terminate host buffers in buildaddr (broken in 6.21) --
  4840.         IMPORTANT FIX!!
  4841.  
  4842. 6.21/6.5    93/02/15
  4843.     Fix another incorrect error message in alias.c, found by Azuma
  4844.         Okamoto.
  4845.     Fix a couple of problems in the more-configurable config files,
  4846.         found by Tom Ivar Helbekkmo.
  4847.     Fix problem with quoted :include: entries.
  4848.     Don't duplicate the filename on verbose printing of .forward and
  4849.         :include: contents.
  4850.     Extend size of prescan buffer (to allow bigger addresses).  Also,
  4851.         detect some buffer overflows.
  4852.     Log user SMTP protocol errors (log level 4).
  4853.  
  4854. 6.20/6.4    93/02/14
  4855.     Fix another problem in the MCI state machine caused when there
  4856.         were errors generated from the other end to commands
  4857.         other than RCPT.
  4858.  
  4859. 6.19/6.4    93/02/14
  4860.     Include load average support for DEC Alpha running OSF/1.
  4861.     Fix multiple-response problem with errors in MAIL From: line.
  4862.     Fix SMTP reply codes for invalid address syntaxes (give 501;
  4863.         never give multiple error messages for a single message).
  4864.     Fix problem where a cached connection timeout rejects all
  4865.         later connects to that host.
  4866.     Fix incorrect error message if alias.c is compiled with DBM only.
  4867.     Additional changes to fix nested conditionals (from Bruce Lilly).
  4868.     Recover more gracefully from operating system failures, particularly
  4869.         NULL returns from openmailer (from Noritoshi Demizu,
  4870.         OMRON Corporation).
  4871.     Log forward, alias, and userdb expand operations on log level 10;
  4872.         concept suggested by P{r (Pell) Emanuelsson.
  4873.     Changes for HPUX 8.07 compatibility.
  4874.  
  4875. 6.18/6.4    93/02/12
  4876.     Allow any config option to be set using an M4 define.
  4877.     Change UNAME compile flag to HASUNAME for IDA compatibility
  4878.         (besides, it's a better name).
  4879.     Note in README that on SunOS it must be linked -Bstatic.
  4880.     Fairly major change in domain.c to handle wildcard MX records
  4881.         more rationally.  NOTE: the "w" option (no wildcard MX
  4882.         records match local domain) has been eliminated.
  4883.     Fix some unset variable references pointed out by Bruce Lilly.
  4884.     Fix host name in process titles when using cached connection.
  4885.  
  4886. 6.17/6.3    93/01/28
  4887.     Fix System 5 compatibility changes to be compatible with the rest
  4888.         of the world.
  4889.  
  4890. 6.16/6.3    93/01/28
  4891.     Experimental fix for problem handling errors in the SMTP
  4892.         protocol in conjunction with connection caching.
  4893.     System 5 compatibility changes.
  4894.  
  4895. 6.15/6.3    93/01/26
  4896.     Fix a bug that causes local mail delivered using -odq to be
  4897.         eliminated as a duplicate (because it matched the
  4898.         ctladdr, now passed in as a C line).  These changes
  4899.         are pretty tricky......
  4900.  
  4901. 6.14/6.3    93/01/25
  4902.     Add debugging for some MCI errors.
  4903.  
  4904. 6.13/6.3    93/01/22
  4905.     Fix -e compatibility flag to take a value.
  4906.     Fix a couple of minor compilation warnings on Sun cc.
  4907.     Improve error messages in a few cases to be more self-explanatory.
  4908.  
  4909. 6.12/6.3    93/01/21
  4910.     Fix yet-another problem with environment handling, pointed out
  4911.         by Yoshitaka Tokugawa and Tom Ivar Helbekkmo.
  4912.     Some heuristics to try to limit resource exhaustion problems
  4913.         if a downstream host has been down for a long time.
  4914.     Fix problem with incorrect host name being logged in "Connection
  4915.         timed out" messages (from Tom Ivar Helbekkmo).
  4916.     Fix some ANSI C problems (from Takahiro Kanbe).
  4917.     Properly log message sender on returned mail during queue run.
  4918.     Count number of recipients properly.
  4919.     Fix a problem in yp map code.
  4920.     Diagnose "message timed out" (from Motonori Nakamura).
  4921.  
  4922. 6.11/6.3    93/01/20
  4923.     Fix problem with address delimitor inside quotes.
  4924.     Define $k and $=k to be the UUCP name (from the uname call)
  4925.         based on code from Bruce Lilly.
  4926.  
  4927. 6.10/6.2    93/01/18
  4928.     Implement arpatounix (largely code from Bruce Lilly).
  4929.     Log more info (suggested by John Myers).
  4930.     Allow nested $?...$|...$. (inspired by code from Bruce Lilly of
  4931.         Sony US).
  4932.     POSIX compatibility (noted by Keith Bostic).
  4933.     Handle SMTP MAIL command errors properly (urged by several people,
  4934.         notably John Myers of CMU).
  4935.     Do early diagnosis of .cf errors (notably referencing a RHS
  4936.         substitution that isn't on the LHS).
  4937.     Adjust checkpointing to better handle batched recipients, suggested
  4938.         by John Myers.
  4939.     Fix miscellaneous bugs.
  4940.     (config files:)  Implement MAIL_HUB for all local mail (to handle
  4941.         NFS-mounted directories) as urged by Tom Ivar Helbekkmo
  4942.         of the Norwegian School of Economics.
  4943.  
  4944. 6.9/6.1     93/01/13
  4945.     Environment handling simplification/bug fix -- child processes
  4946.         get a minimal, fixed environment.  This avoids different
  4947.         behaviour in queue runs.
  4948.     Handle commas inside comments properly.
  4949.     Properly limit large messages submitted in -obq mode.
  4950.  
  4951. 6.8/6.1        93/01/10
  4952.     Check mtime of thaw file against .cf and sendmail binary, based on
  4953.         code from John Myers.
  4954.  
  4955. 6.7/6.1        93/01/10
  4956.     MX piggybacking, based on code from John Myers@CMU.
  4957.     Allow checkcompat to return -1 to mean tempfail.
  4958.     Bug fix in m_mno computation.
  4959.  
  4960. 6.6/6.1        93/01/09
  4961.     Tuning of queueing functions as recommended by John Gardiner Myers.
  4962.     Return mail headers (no body) on messages with negative precedence.
  4963.     Minor other bug fixes.
  4964.  
  4965. 6.5/6.1        93/01/03
  4966.     Fix botch causing queued headers to have ?XX? prefixes.
  4967.  
  4968. 6.4/6.1        93/01/02
  4969.     Changes to recognize special mailer types (e.g., file) early.
  4970.  
  4971. 6.3/6.1        93/01/01
  4972.     Pass timeouts to sfgets.
  4973.     Check for control characters in addresses.
  4974.     Fixed deferred error reporting.
  4975.     Report duplicate aliases.
  4976.     Handle mixed case recursive aliases.
  4977.     Misc bug fixes.
  4978.  
  4979. 6.2/6.1        92/12/30
  4980.     Put return-receipt-to on a conf.c flag (but don't set it).
  4981.     Fix minor syslog problem.
  4982.